PHP Interface League\Geotools\Vertex\VertexInterface

Author: Antoine Corcy ([email protected])
Exibir arquivo Open project: toin0u/geotools

Public Methods

Method Description
getFrom ( ) : League\Geotools\Coordinate\CoordinateInterface Get the origin coordinate.
getGradient ( ) : integer Get the gradient (slope) of the vertex.
getOrdinateIntercept ( ) : integer Get the ordinate (longitude) of the point where vertex intersects with the ordinate-axis (Prime-Meridian) of the coordinate system.
getTo ( ) : League\Geotools\Coordinate\CoordinateInterface Get the destination coordinate.
setFrom ( League\Geotools\Coordinate\CoordinateInterface $from ) : League\Geotools\Vertex\VertexInterface Set the origin coordinate.
setTo ( League\Geotools\Coordinate\CoordinateInterface $to ) : League\Geotools\Vertex\VertexInterface Set the destination coordinate.

Method Details

getFrom() public method

Get the origin coordinate.
public getFrom ( ) : League\Geotools\Coordinate\CoordinateInterface
return League\Geotools\Coordinate\CoordinateInterface

getGradient() public method

Get the gradient (slope) of the vertex.
public getGradient ( ) : integer
return integer

getOrdinateIntercept() public method

Get the ordinate (longitude) of the point where vertex intersects with the ordinate-axis (Prime-Meridian) of the coordinate system.
public getOrdinateIntercept ( ) : integer
return integer

getTo() public method

Get the destination coordinate.
public getTo ( ) : League\Geotools\Coordinate\CoordinateInterface
return League\Geotools\Coordinate\CoordinateInterface

setFrom() public method

Set the origin coordinate.
public setFrom ( League\Geotools\Coordinate\CoordinateInterface $from ) : League\Geotools\Vertex\VertexInterface
$from League\Geotools\Coordinate\CoordinateInterface The origin coordinate.
return League\Geotools\Vertex\VertexInterface

setTo() public method

Set the destination coordinate.
public setTo ( League\Geotools\Coordinate\CoordinateInterface $to ) : League\Geotools\Vertex\VertexInterface
$to League\Geotools\Coordinate\CoordinateInterface The destination coordinate.
return League\Geotools\Vertex\VertexInterface