interface VertexInterface

Methods

setFrom(CoordinatesInterface $from)

Set the origin coordinate.

getFrom()

Get the origin coordinate.

setTo(CoordinatesInterface $to)

Set the destination coordinate.

getTo()

Get the destination coordinate.

int
getGradient()

Get the gradient (slope) of the vertex.

int
getOrdinateIntercept()

Get the ordinate (longitude) of the point where vertex intersects with the ordinate-axis (Prime-Meridian) of the coordinate system.

Details

at line 14
VertexInterface setFrom(CoordinatesInterface $from)

Set the origin coordinate.

Parameters

CoordinatesInterface $from

The origin coordinate.

Return Value

VertexInterface

at line 21
CoordinatesInterface getFrom()

Get the origin coordinate.

Return Value

CoordinatesInterface

at line 30
VertexInterface setTo(CoordinatesInterface $to)

Set the destination coordinate.

Parameters

CoordinatesInterface $to

The destination coordinate.

Return Value

VertexInterface

at line 37
CoordinatesInterface getTo()

Get the destination coordinate.

Return Value

CoordinatesInterface

at line 44
int getGradient()

Get the gradient (slope) of the vertex.

Return Value

int

at line 51
int getOrdinateIntercept()

Get the ordinate (longitude) of the point where vertex intersects with the ordinate-axis (Prime-Meridian) of the coordinate system.

Return Value

int