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.Primitive, org.gvsig.tools.util.GetItem<Double>, org.gvsig.tools.util.IsEmpty, org.gvsig.tools.util.Size

public class Point2D extends AbstractPoint
Author:
fdiaz
See Also:
  • Constructor Details

    • Point2D

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

      public Point2D()
    • Point2D

      public Point2D(double x, double y)
      Parameters:
      x -
      y -
    • Point2D

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

    • cloneGeometry

      public org.gvsig.fmap.geom.primitive.Point cloneGeometry()
    • getDimension

      public int getDimension()
    • getGeometryType

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

      public boolean is3D()
    • setJTSCoordinate

      public void setJTSCoordinate(com.vividsolutions.jts.geom.Coordinate coordinate)
    • getGeneralPath

      public org.gvsig.fmap.geom.primitive.GeneralPathX getGeneralPath()
    • getPathIterator

      public PathIterator getPathIterator(AffineTransform at)
    • toPoints

      public org.gvsig.fmap.geom.aggregate.MultiPoint toPoints() throws org.gvsig.fmap.geom.GeometryException
      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
      Parameters:
      distance -
      Returns:
      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