Class AbstractMultiPolygon

All Implemented Interfaces:
Shape, Serializable, Cloneable, Comparable, Iterable<org.gvsig.fmap.geom.Geometry>, org.gvsig.fmap.geom.aggregate.Aggregate, org.gvsig.fmap.geom.aggregate.MultiPolygon, org.gvsig.fmap.geom.aggregate.MultiPrimitive, org.gvsig.fmap.geom.aggregate.MultiSurface, 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:
MultiPolygon2D, MultiPolygon2DM, MultiPolygon3D, MultiPolygon3DM

public abstract class AbstractMultiPolygon extends AbstractMultiSurface implements org.gvsig.fmap.geom.aggregate.MultiPolygon
Author:
fdiaz
See Also:
  • Constructor Details

    • AbstractMultiPolygon

      public AbstractMultiPolygon(int subtype)
  • Method Details

    • getJTS

      public com.vividsolutions.jts.geom.Geometry getJTS()
      Specified by:
      getJTS in interface GeometryJTS
      Returns:
      the jts geometry.
    • force2D

      public org.gvsig.fmap.geom.Geometry force2D() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException
      Specified by:
      force2D in interface org.gvsig.fmap.geom.Geometry
      Throws:
      org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException
      org.gvsig.fmap.geom.operation.GeometryOperationException
    • force2DM

      public org.gvsig.fmap.geom.Geometry force2DM() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException
      Specified by:
      force2DM in class AbstractGeometry
      Throws:
      org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException
      org.gvsig.fmap.geom.operation.GeometryOperationException
    • force3D

      public org.gvsig.fmap.geom.Geometry force3D() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException
      Specified by:
      force3D in class AbstractGeometry
      Throws:
      org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException
      org.gvsig.fmap.geom.operation.GeometryOperationException
    • force3DM

      public org.gvsig.fmap.geom.Geometry force3DM() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException
      Specified by:
      force3DM in class AbstractGeometry
      Throws:
      org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException
      org.gvsig.fmap.geom.operation.GeometryOperationException
    • getPathIterator

      public PathIterator getPathIterator(AffineTransform at)
      Specified by:
      getPathIterator in interface org.gvsig.fmap.geom.Geometry
      Specified by:
      getPathIterator in interface Shape
      Overrides:
      getPathIterator in class AbstractMultiSurface
    • getPathIterator

      public PathIterator getPathIterator(AffineTransform at, double flatness)
      Specified by:
      getPathIterator in interface org.gvsig.fmap.geom.Geometry
      Specified by:
      getPathIterator in interface Shape
      Overrides:
      getPathIterator in class AbstractMultiSurface
    • getGeneralPath

      public org.gvsig.fmap.geom.primitive.GeneralPathX getGeneralPath()
      Specified by:
      getGeneralPath in interface org.gvsig.fmap.geom.Geometry
      Overrides:
      getGeneralPath in class AbstractMultiSurface
    • flip

      public void flip() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException
      Specified by:
      flip in interface org.gvsig.fmap.geom.Geometry
      Throws:
      org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException
      org.gvsig.fmap.geom.operation.GeometryOperationException
    • addSurface

      public void addSurface(org.gvsig.fmap.geom.primitive.Surface surface)
      Specified by:
      addSurface in interface org.gvsig.fmap.geom.aggregate.MultiSurface
    • getShape

      public Shape getShape(AffineTransform affineTransform)
      Specified by:
      getShape in interface org.gvsig.fmap.geom.Geometry
      Overrides:
      getShape in class AbstractMultiSurface
    • getShape

      public Shape getShape()
      Specified by:
      getShape in interface org.gvsig.fmap.geom.Geometry
      Overrides:
      getShape in class AbstractMultiSurface
    • validateCoverage

      public org.gvsig.fmap.geom.Geometry validateCoverage(org.gvsig.fmap.geom.Geometry[] geoms, double gapWidth)
      Specified by:
      validateCoverage in interface org.gvsig.fmap.geom.aggregate.MultiPolygon
    • findGaps

      public org.gvsig.fmap.geom.Geometry findGaps(double gapWidth)
      Specified by:
      findGaps in interface org.gvsig.fmap.geom.aggregate.MultiPolygon