Class AbstractMultiPrimitive

All Implemented Interfaces:
Shape, Serializable, Cloneable, Comparable, Iterable<org.gvsig.fmap.geom.Geometry>, org.gvsig.fmap.geom.aggregate.Aggregate, org.gvsig.fmap.geom.aggregate.MultiPrimitive, org.gvsig.fmap.geom.Geometry, GeometryJTS, org.gvsig.tools.util.GetItem<org.gvsig.fmap.geom.Geometry>, org.gvsig.tools.util.IsEmpty, org.gvsig.tools.util.Size
Direct Known Subclasses:
AbstractMultiCurve, AbstractMultiPoint, AbstractMultiSurface

public abstract class AbstractMultiPrimitive extends AbstractAggregate implements org.gvsig.fmap.geom.aggregate.MultiPrimitive
Author:
fdiaz
See Also:
  • Constructor Details

    • AbstractMultiPrimitive

      public AbstractMultiPrimitive(int type, int subtype)
      Parameters:
      type -
      subtype -
  • Method Details

    • addPrimitive

      public void addPrimitive(org.gvsig.fmap.geom.primitive.Primitive primitive)
      Specified by:
      addPrimitive in interface org.gvsig.fmap.geom.aggregate.MultiPrimitive
    • addPrimitives

      public void addPrimitives(org.gvsig.fmap.geom.aggregate.Aggregate aggregate)
      Specified by:
      addPrimitives in interface org.gvsig.fmap.geom.aggregate.MultiPrimitive
    • addPrimitives

      public void addPrimitives(org.gvsig.fmap.geom.complex.Complex complex)
    • addPrimitives

      public void addPrimitives(org.gvsig.fmap.geom.Geometry geometry)
      Specified by:
      addPrimitives in interface org.gvsig.fmap.geom.aggregate.MultiPrimitive
    • fixPrimitive

      protected abstract org.gvsig.fmap.geom.Geometry fixPrimitive(org.gvsig.fmap.geom.primitive.Primitive primitive)
      Parameters:
      primitive -
      Returns:
    • clonePrimitives

      protected org.gvsig.fmap.geom.Geometry clonePrimitives(AbstractMultiPrimitive clone)
    • getHandlers

      public org.gvsig.fmap.geom.handler.Handler[] getHandlers(int type)
      Specified by:
      getHandlers in interface org.gvsig.fmap.geom.Geometry
    • union

      public org.gvsig.fmap.geom.Geometry union() throws org.gvsig.fmap.geom.operation.GeometryOperationException, org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException
      Specified by:
      union in interface org.gvsig.fmap.geom.aggregate.Aggregate
      Throws:
      org.gvsig.fmap.geom.operation.GeometryOperationException
      org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException
    • intersection

      public org.gvsig.fmap.geom.Geometry intersection() throws org.gvsig.fmap.geom.operation.GeometryOperationException, org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException
      Specified by:
      intersection in interface org.gvsig.fmap.geom.aggregate.Aggregate
      Throws:
      org.gvsig.fmap.geom.operation.GeometryOperationException
      org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException