Interface MultiPoint

All Superinterfaces:
Aggregate, Cloneable, Comparable, Geometry, org.gvsig.tools.util.GetItem<Geometry>, org.gvsig.tools.util.IsEmpty, Iterable<Geometry>, MultiPrimitive, Serializable, Shape, org.gvsig.tools.util.Size

public interface MultiPoint extends MultiPrimitive

This interface is equivalent to the GM_MultiPoint specified in ISO 19107. MultiPoint is an aggregate class containing only points. The association role "element" shall be the set of Point's contained in this MultiPoint.

Author:
Jorge Piera
See Also:
  • Method Details

    • addPoint

      void addPoint(Point point)
      Adds a new point to the multipoint
      Parameters:
      point - The point to add
    • getPointAt

      Point getPointAt(int index)
      Gets the point that is on a concrete position inside the multi point
      Parameters:
      index - The position
      Returns:
      The selected point