Interface MultiPrimitive

All Superinterfaces:
Aggregate, Cloneable, Comparable, Geometry, org.gvsig.tools.util.GetItem<Geometry>, org.gvsig.tools.util.IsEmpty, Iterable<Geometry>, Serializable, Shape, org.gvsig.tools.util.Size
All Known Subinterfaces:
MultiCurve, MultiLine, MultiPoint, MultiPolygon, MultiSolid, MultiSurface

public interface MultiPrimitive extends Aggregate

This interface is equivalent to the GM_MultiPrimitive specified in ISO 19107. MultiPrimitive is the root class for all primitive aggregates. The association role "element" shall be the set of Primitive's contained in this MultiPrimitive.

Author:
Jorge Piera
See Also:
  • Method Details

    • addPrimitive

      void addPrimitive(Primitive primitive)
      Adds a new primitive to the primitive
      Parameters:
      primitive - The primitive to add
    • addPrimitives

      void addPrimitives(Aggregate aggregate)
    • addPrimitives

      void addPrimitives(Geometry geometry)
    • ensureCapacity

      void ensureCapacity(int capacity)