public class Point2DM extends AbstractPoint
Modifier and Type | Class and Description |
---|---|
class |
Point2DM.PointIterator |
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatus
coordinate
logger
BEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W
Constructor and Description |
---|
Point2DM() |
Point2DM(Coordinate coordinates) |
Point2DM(double x,
double y,
double m) |
Modifier and Type | Method and Description |
---|---|
Geometry |
cloneGeometry()
Creates a clone of this geometry.
|
boolean |
equals(Object obj) |
double |
getCoordinateAt(int dimension)
Gets the coordinate in a concrete dimension
|
int |
getDimension()
Returns the largest number n such that each direct position in a
geometric set can be associated with a subset that has the direct
position in its interior and is similar (isomorphic) to Rn, Euclidean
n-space.
|
GeneralPathX |
getGeneralPath()
Get GeneralPathIterator, to do registered operations to it.
|
GeometryType |
getGeometryType()
Instance of the GeometryType associated to this geometry.
|
double |
getM() |
PathIterator |
getPathIterator(AffineTransform at)
If applies an affine transformation and returns the GeneralPathXIterator
with this geometry's information.
|
boolean |
is3D() |
Geometry |
offset(double distance) |
void |
setCoordinateAt(int dimension,
double value)
Sets a ordinate in a concrete dimension
|
void |
setJTSCoordinate(Coordinate coordinate) |
MultiPoint |
toPoints()
Converts the geometry to be points and makes with them a multiPoint
|
String |
toString() |
flip, getCoordinates, getDirectPosition, getEnvelope, getHandlers, getJTS, getJTSCoordinate, getPathIterator, getShape, getShape, getX, getY, reProject, setCoordinates, setX, setY, toLines, toPolygons, transform
area, buffer, centroid, closestPoints, compareTo, contains, contains, contains, contains, contains, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, fastIntersects, getBounds, getBounds2D, getInteriorPoint, getInternalShape, getManager, getType, getValidationStatus, intersection, intersects, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, notifyDeprecated, out, overlaps, perimeter, rotate, scale, snapTo, touches, union, within
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
area, buffer, centroid, closestPoints, contains, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, fastIntersects, getBounds2D, getInteriorPoint, getInternalShape, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, out, overlaps, perimeter, rotate, scale, snapTo, touches, union, within
contains, contains, contains, contains, getBounds, intersects
compareTo
public Point2DM(Coordinate coordinates)
public Point2DM()
public Point2DM(double x, double y, double m)
public double getM()
public int getDimension()
Geometry
public GeometryType getGeometryType()
Geometry
getGeometryType
in interface Geometry
getGeometryType
in class AbstractGeometry
public Geometry cloneGeometry()
Geometry
public double getCoordinateAt(int dimension)
Point
getCoordinateAt
in interface Point
getCoordinateAt
in class AbstractPoint
dimension
- The ordinate dimensionpublic void setCoordinateAt(int dimension, double value)
Point
setCoordinateAt
in interface Point
setCoordinateAt
in class AbstractPoint
dimension
- The dimension to setvalue
- The value to setpublic boolean is3D()
public void setJTSCoordinate(Coordinate coordinate)
public GeneralPathX getGeneralPath()
Geometry
public PathIterator getPathIterator(AffineTransform at)
Geometry
at
- The transformation to apply.public MultiPoint toPoints() throws GeometryException
Geometry
GeometryException
public Geometry offset(double distance) throws GeometryOperationNotSupportedException, GeometryOperationException
public String toString()
toString
in class AbstractPoint
public boolean equals(Object obj)
equals
in class AbstractGeometry