All Implemented Interfaces:
Shape, Serializable, Cloneable, Comparable, org.gvsig.fmap.geom.Geometry, GeometryJTS, org.gvsig.fmap.geom.primitive.Curve, org.gvsig.fmap.geom.primitive.OrientableCurve, org.gvsig.fmap.geom.primitive.OrientablePrimitive, org.gvsig.fmap.geom.primitive.Primitive, org.gvsig.fmap.geom.primitive.Spline, org.gvsig.tools.util.GetItem<org.gvsig.fmap.geom.primitive.Point>, org.gvsig.tools.util.IsEmpty, org.gvsig.tools.util.Size

public class Spline2DM extends BaseSpline2DM implements org.gvsig.fmap.geom.primitive.Spline
Author:
fdiaz
See Also:
  • Constructor Details

    • Spline2DM

      public Spline2DM()
    • Spline2DM

      public Spline2DM(com.vividsolutions.jts.geom.Coordinate[] coordinates)
      Parameters:
      coordinates -
    • Spline2DM

      public Spline2DM(ArrayListCoordinateSequence coordinates)
  • Method Details

    • addVertex

      public org.gvsig.fmap.geom.primitive.OrientablePrimitive addVertex(double x, double y)
      Specified by:
      addVertex in interface org.gvsig.fmap.geom.primitive.OrientablePrimitive
      Overrides:
      addVertex in class BaseSpline2DM
    • addVertex

      public org.gvsig.fmap.geom.primitive.OrientablePrimitive addVertex(double x, double y, double z)
      Specified by:
      addVertex in interface org.gvsig.fmap.geom.primitive.OrientablePrimitive
      Overrides:
      addVertex in class BaseSpline2DM
    • cloneGeometry

      public org.gvsig.fmap.geom.Geometry cloneGeometry()
      Specified by:
      cloneGeometry in interface org.gvsig.fmap.geom.Geometry
    • fixPoint

      protected org.gvsig.fmap.geom.primitive.Point fixPoint(org.gvsig.fmap.geom.primitive.Point point)
      Overrides:
      fixPoint in class BaseSpline2DM
      Parameters:
      point -
      Returns:
    • getSplineCoordinates

      protected ArrayListCoordinateSequence getSplineCoordinates()
      Overrides:
      getSplineCoordinates in class BaseSpline2DM
    • toPoints

      public org.gvsig.fmap.geom.aggregate.MultiPoint toPoints() throws org.gvsig.fmap.geom.GeometryException
      Specified by:
      toPoints in interface org.gvsig.fmap.geom.Geometry
      Overrides:
      toPoints in class BaseSpline2DM
      Throws:
      org.gvsig.fmap.geom.GeometryException
    • toLines

      public org.gvsig.fmap.geom.aggregate.MultiLine toLines() throws org.gvsig.fmap.geom.GeometryException
      Specified by:
      toLines in interface org.gvsig.fmap.geom.Geometry
      Overrides:
      toLines in class BaseSpline2DM
      Throws:
      org.gvsig.fmap.geom.GeometryException
    • toPolygons

      public org.gvsig.fmap.geom.aggregate.MultiPolygon toPolygons() throws org.gvsig.fmap.geom.GeometryException
      Specified by:
      toPolygons in interface org.gvsig.fmap.geom.Geometry
      Overrides:
      toPolygons in class BaseSpline2DM
      Throws:
      org.gvsig.fmap.geom.GeometryException
    • getVertex

      public org.gvsig.fmap.geom.primitive.Point getVertex(int index)
      Specified by:
      getVertex in interface org.gvsig.fmap.geom.primitive.OrientablePrimitive
      Overrides:
      getVertex in class BaseSpline2DM
    • offset

      public org.gvsig.fmap.geom.Geometry offset(double distance) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException
      Specified by:
      offset in interface org.gvsig.fmap.geom.Geometry
      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
      Specified by:
      offset in interface org.gvsig.fmap.geom.Geometry
      Throws:
      org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException
      org.gvsig.fmap.geom.operation.GeometryOperationException
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface org.gvsig.fmap.geom.Geometry
      Overrides:
      equals in class AbstractGeometry
    • force2DM

      public org.gvsig.fmap.geom.Geometry force2DM() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException
      Overrides:
      force2DM in class AbstractSpline
      Throws:
      org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException
      org.gvsig.fmap.geom.operation.GeometryOperationException