Interface CoordinateListFactory

All Known Implementing Classes:
CurveCoordinateListFactory, PointCoordinateListFactory, SurfaceCoordinateListFactory

public interface CoordinateListFactory
This interface defines a factory for generating a sequence of points from a geometry object. An implementation of this interface should handle a particular geometry type (point, curve, surface).
  • Method Summary

    Modifier and Type
    Method
    Description
    createCoordinateList(org.geotoolkit.gml.xml.AbstractGeometry gml)
    Creates a list of coordinates from a GML geometry representation.
  • Method Details

    • createCoordinateList

      List<Coordinate> createCoordinateList(org.geotoolkit.gml.xml.AbstractGeometry gml)
      Creates a list of coordinates from a GML geometry representation. The sequence typically includes the constituent vertices.
      Parameters:
      gml - A GML geometry object (constructed from its XML representation).
      Returns:
      A list of 2D coordinates that constitute the geometry.