PolygonInterface
interface PolygonInterface
Methods
Returns the geometry type.
Returns the precision of the geometry.
Returns a vertex of this Geometry
(usually, but not necessarily, the first one).
Returns a collection containing the values of all the vertices for this geometry.
Returns true if the geometry is empty.
Details
at line 12
string
getGeometryType()
Returns the geometry type.
at line 19
int
getPrecision()
Returns the precision of the geometry.
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.
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.
at line 45
bool
isEmpty()
Returns true if the geometry is empty.
at line 52
Bounds
getBounds()
Returns the bounding box of the Geometry
at line 58
bool
pointInPolygon(CoordinatesInterface $coordinate)
No description