public class Point2DM extends AbstractPoint
| Modifier and Type | Class and Description |
|---|---|
class |
Point2DM.PointIterator |
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatuscoordinateloggerBEST, 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, transformarea, 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, withinclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitarea, 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, withincontains, contains, contains, contains, getBounds, intersectscompareTopublic Point2DM(Coordinate coordinates)
public Point2DM()
public Point2DM(double x,
double y,
double m)
public double getM()
public int getDimension()
Geometrypublic GeometryType getGeometryType()
GeometrygetGeometryType in interface GeometrygetGeometryType in class AbstractGeometrypublic Geometry cloneGeometry()
Geometrypublic double getCoordinateAt(int dimension)
PointgetCoordinateAt in interface PointgetCoordinateAt in class AbstractPointdimension - The ordinate dimensionpublic void setCoordinateAt(int dimension,
double value)
PointsetCoordinateAt in interface PointsetCoordinateAt in class AbstractPointdimension - The dimension to setvalue - The value to setpublic boolean is3D()
public void setJTSCoordinate(Coordinate coordinate)
public GeneralPathX getGeneralPath()
Geometrypublic PathIterator getPathIterator(AffineTransform at)
Geometryat - The transformation to apply.public MultiPoint toPoints() throws GeometryException
GeometryGeometryExceptionpublic Geometry offset(double distance) throws GeometryOperationNotSupportedException, GeometryOperationException
public String toString()
toString in class AbstractPointpublic boolean equals(Object obj)
equals in class AbstractGeometry