Class GeometryCoordinateList

java.lang.Object
org.opengis.cite.geomatics.gml.GeometryCoordinateList

public class GeometryCoordinateList extends Object
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 Details

    • GeometryCoordinateList

      public GeometryCoordinateList()
  • Method Details

    • getCoordinateList

      public Coordinate[] getCoordinateList(org.geotoolkit.gml.xml.AbstractGeometry gmlGeometry)
      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.