Class DefaultMultiSurface

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.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

public class DefaultMultiSurface extends AbstractMultiSurface
Author:
fdiaz
See Also:
  • Constructor Details

    • DefaultMultiSurface

      public DefaultMultiSurface(org.gvsig.fmap.geom.type.GeometryType geometryType)
  • Method Details

    • cloneGeometry

      public org.gvsig.fmap.geom.Geometry cloneGeometry()
    • force2D

      public org.gvsig.fmap.geom.Geometry force2D() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException
      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
    • addSurface

      public void addSurface(org.gvsig.fmap.geom.primitive.Surface surface)
    • getDimension

      public int getDimension()
    • toPoints

      public org.gvsig.fmap.geom.aggregate.MultiPoint toPoints() throws org.gvsig.fmap.geom.GeometryException
      Throws:
      org.gvsig.fmap.geom.GeometryException
    • toLines

      public org.gvsig.fmap.geom.aggregate.MultiLine toLines() throws org.gvsig.fmap.geom.GeometryException
      Throws:
      org.gvsig.fmap.geom.GeometryException
    • toPolygons

      public org.gvsig.fmap.geom.aggregate.MultiPolygon toPolygons() throws org.gvsig.fmap.geom.GeometryException
      Throws:
      org.gvsig.fmap.geom.GeometryException
    • flip

      public void flip() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException
      Throws:
      org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException
      org.gvsig.fmap.geom.operation.GeometryOperationException
    • fixPrimitive

      protected org.gvsig.fmap.geom.Geometry fixPrimitive(org.gvsig.fmap.geom.primitive.Primitive primitive)
      Specified by:
      fixPrimitive in class AbstractMultiPrimitive
      Parameters:
      primitive -
      Returns:
    • getJTS

      public com.vividsolutions.jts.geom.Geometry getJTS()
      Returns:
      the jts geometry.
    • offset

      public org.gvsig.fmap.geom.Geometry offset(double distance) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException
      Throws:
      org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException
      org.gvsig.fmap.geom.operation.GeometryOperationException
    • offset

      public org.gvsig.fmap.geom.Geometry offset(int joinStyle, double distance) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException
      Throws:
      org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException
      org.gvsig.fmap.geom.operation.GeometryOperationException