interface CircleInterface

Methods

string
getGeometryType()

Returns the geometry type.

int
getPrecision()

Returns the precision of the geometry.

getCoordinate()

Returns a vertex of this Geometry (usually, but not necessarily, the first one).

getCoordinates()

Returns a collection containing the values of all the vertices for this geometry.

getRadius()

No description

distanceUnit($unit)

No description

pointInRadius(CoordinatesInterface $coordinate)

No description

bool
isEmpty()

Returns true if the geometry is empty.

Details

at line 12
string getGeometryType()

Returns the geometry type.

Return Value

string

at line 19
int getPrecision()

Returns the precision of the geometry.

Return Value

int

at line 29
CoordinatesInterface getCoordinate()

Returns a vertex of this Geometry (usually, but not necessarily, the first one).

The returned coordinate should not be assumed to be an actual Coordinate object used in the internal representation.

Return Value

CoordinatesInterface

if there's a coordinate in the collection

at line 38
CoordinatesCollection getCoordinates()

Returns a collection containing the values of all the vertices for this geometry.

If the geometry is a composite, the array will contain all the vertices for the components, in the order in which the components occur in the geometry.

Return Value

CoordinatesCollection

the vertices of this Geometry

at line 40
getRadius()

No description

at line 42
distanceUnit($unit)

No description

Parameters

$unit

at line 44
pointInRadius(CoordinatesInterface $coordinate)

No description

Parameters

CoordinatesInterface $coordinate

at line 51
bool isEmpty()

Returns true if the geometry is empty.

Return Value

bool