Package org.opengis.cite.geomatics.gml
Class GeometryCoordinateList
java.lang.Object
org.opengis.cite.geomatics.gml.GeometryCoordinateList
Constructs an array of points from a GML geometry instance. Such a sequence can be used
to calculate a convex hull that approximates the spatial extent of the geometry.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCoordinateList
(org.geotoolkit.gml.xml.AbstractGeometry gmlGeometry) Creates an array of 2D coordinates from the given GML geometry instance.
-
Constructor Details
-
GeometryCoordinateList
public GeometryCoordinateList()
-
-
Method Details
-
getCoordinateList
Creates an array of 2D coordinates from the given GML geometry instance. The collection may contain duplicates (arising from curve segments and rings).- Parameters:
gmlGeometry
- A GML geometry element.- Returns:
- A JTS Coordinate[] array containing a sequence of 2D coordinate tuples.
-