Class Point2DM

All Implemented Interfaces:
Shape, Serializable, Cloneable, Comparable, org.gvsig.fmap.geom.Geometry, GeometryJTS, PointJTS, org.gvsig.fmap.geom.primitive.Point, org.gvsig.fmap.geom.primitive.PointM, org.gvsig.fmap.geom.primitive.Primitive, org.gvsig.tools.util.GetItem<Double>, org.gvsig.tools.util.IsEmpty, org.gvsig.tools.util.Size

public class Point2DM extends AbstractPoint implements org.gvsig.fmap.geom.primitive.PointM
Author:
fdiaz
See Also:
  • Constructor Details

    • Point2DM

      public Point2DM(org.gvsig.crs.projection.lib.Projection proj, com.vividsolutions.jts.geom.Coordinate coordinates)
      Parameters:
      proj -
      coordinates -
    • Point2DM

      public Point2DM()
    • Point2DM

      public Point2DM(double x, double y, double m)
      Parameters:
      x -
      y -
      m -
    • Point2DM

      public Point2DM(org.gvsig.crs.projection.lib.Projection proj, double x, double y, double m)
  • Method Details

    • getM

      public double getM()
      Specified by:
      getM in interface org.gvsig.fmap.geom.primitive.PointM
    • setM

      public void setM(double m)
      Specified by:
      setM in interface org.gvsig.fmap.geom.primitive.PointM
    • getDimension

      public int getDimension()
      Specified by:
      getDimension in interface org.gvsig.fmap.geom.Geometry
    • getGeometryType

      public org.gvsig.fmap.geom.type.GeometryType getGeometryType()
      Specified by:
      getGeometryType in interface org.gvsig.fmap.geom.Geometry
      Overrides:
      getGeometryType in class AbstractGeometry
    • cloneGeometry

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

      public double getCoordinateAt(int dimension)
      Specified by:
      getCoordinateAt in interface org.gvsig.fmap.geom.primitive.Point
      Overrides:
      getCoordinateAt in class AbstractPoint
    • setCoordinateAt

      public void setCoordinateAt(int dimension, double value)
      Specified by:
      setCoordinateAt in interface org.gvsig.fmap.geom.primitive.Point
      Overrides:
      setCoordinateAt in class AbstractPoint
    • is3D

      public boolean is3D()
      Specified by:
      is3D in interface GeometryJTS
    • setJTSCoordinate

      public void setJTSCoordinate(com.vividsolutions.jts.geom.Coordinate coordinate)
      Specified by:
      setJTSCoordinate in interface PointJTS
    • getGeneralPath

      public org.gvsig.fmap.geom.primitive.GeneralPathX getGeneralPath()
      Specified by:
      getGeneralPath in interface org.gvsig.fmap.geom.Geometry
    • getPathIterator

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

      public int hashCode()
      Overrides:
      hashCode in class AbstractPoint
    • 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
      Throws:
      org.gvsig.fmap.geom.GeometryException
    • 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
    • toString

      public String toString()
      Specified by:
      toString in class AbstractPoint
    • equals

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

      public org.gvsig.fmap.geom.primitive.Point force3D()
      Specified by:
      force3D in interface org.gvsig.fmap.geom.primitive.Point
      Specified by:
      force3D in class AbstractGeometry
    • force2DM

      public org.gvsig.fmap.geom.primitive.Point force2DM()
      Specified by:
      force2DM in interface org.gvsig.fmap.geom.primitive.Point
      Specified by:
      force2DM in class AbstractGeometry
    • force3DM

      public org.gvsig.fmap.geom.primitive.Point force3DM()
      Specified by:
      force3DM in interface org.gvsig.fmap.geom.primitive.Point
      Specified by:
      force3DM in class AbstractGeometry
    • reProject

      public void reProject(org.gvsig.crs.projection.lib.CoordinateTransformation ct)
      Specified by:
      reProject in interface org.gvsig.fmap.geom.Geometry
      Overrides:
      reProject in class AbstractPoint