public class Point2DM extends AbstractPoint implements PointM
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, JOIN_STYLE_BEVEL, JOIN_STYLE_MITRE, JOIN_STYLE_ROUND, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W
Constructor and Description |
---|
Point2DM() |
Point2DM(double x,
double y,
double m) |
Point2DM(IProjection proj,
Coordinate coordinates) |
Point2DM(IProjection proj,
double x,
double y,
double m) |
Modifier and Type | Method and Description |
---|---|
Point |
cloneGeometry()
Creates a clone of this geometry.
|
boolean |
equals(java.lang.Object obj) |
Point |
force2DM() |
Point |
force3D() |
Point |
force3DM() |
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() |
java.awt.geom.PathIterator |
getPathIterator(java.awt.geom.AffineTransform at)
If applies an affine transformation and returns the GeneralPathXIterator
with this geometry's information.
|
int |
hashCode() |
boolean |
is3D() |
Geometry |
offset(double distance) |
void |
setCoordinateAt(int dimension,
double value)
Sets a ordinate in a concrete dimension
|
void |
setJTSCoordinate(Coordinate coordinate) |
void |
setM(double m) |
MultiPoint |
toPoints()
Converts the geometry to be points and makes with them a multiPoint
|
java.lang.String |
toString() |
canBeReprojected, canBeTransformed, centroid, clone, flip, force2D, get, getCoordinates, getDirectPosition, getEnvelope, getHandlers, getJTS, getJTSCoordinate, getPathIterator, getShape, getShape, getX, getY, isEmpty, offset, reProject, setCoordinates, setX, setY, size, toLines, toPolygons, transform
area, boundary, buffer, buffer, closestPoints, compareTo, contains, contains, contains, contains, contains, convertTo, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToGeoJson, convertToGeoJson, convertToHexEWKB, convertToHexEWKBQuietly, convertToHexWKB, convertToHexWKBQuietly, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKBQuietly, convertToWKT, convertToWKTQuietly, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, fastIntersects, fix, forceSubtype, getBounds, getBounds2D, getInteriorPoint, getInternalShape, getManager, getProjection, getType, getValidationStatus, intersection, intersects, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, notifyDeprecated, out, overlaps, perimeter, rotate, scale, setGeometryType, setProjection, setProjection, setProjectionIffNull, snapTo, touches, union, within
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, force2D, getCoordinates, getDirectPosition, getX, getY, setCoordinates, setX, setY
area, boundary, buffer, buffer, canBeReprojected, canBeTransformed, centroid, closestPoints, contains, convertTo, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToGeoJson, convertToHexEWKB, convertToHexEWKBQuietly, convertToHexWKB, convertToHexWKBQuietly, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKBQuietly, convertToWKT, convertToWKTQuietly, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, fastIntersects, fix, flip, forceSubtype, getBounds2D, getEnvelope, getHandlers, getInteriorPoint, getInternalShape, getPathIterator, getProjection, getShape, getShape, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isEmpty, isSimple, isValid, isWithinDistance, makeValid, move, offset, out, overlaps, perimeter, reProject, rotate, scale, setProjection, setProjection, setProjectionIffNull, snapTo, toLines, toPolygons, touches, transform, union, within
contains, contains, contains, contains, getBounds, intersects
isEmpty, isEmpty, isEmptyQuietly
public Point2DM(IProjection proj, Coordinate coordinates)
proj
- coordinates
- public Point2DM()
public Point2DM(double x, double y, double m)
x
- y
- m
- public Point2DM(IProjection proj, double x, double y, double m)
public int getDimension()
Geometry
getDimension
in interface Geometry
public GeometryType getGeometryType()
Geometry
getGeometryType
in interface Geometry
getGeometryType
in class AbstractGeometry
public Point cloneGeometry()
Geometry
cloneGeometry
in interface Geometry
cloneGeometry
in interface Point
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()
is3D
in interface GeometryJTS
public void setJTSCoordinate(Coordinate coordinate)
setJTSCoordinate
in interface PointJTS
public GeneralPathX getGeneralPath()
Geometry
getGeneralPath
in interface Geometry
public java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform at)
Geometry
getPathIterator
in interface java.awt.Shape
getPathIterator
in interface Geometry
at
- The transformation to apply.public int hashCode()
hashCode
in class AbstractPoint
public MultiPoint toPoints() throws GeometryException
Geometry
toPoints
in interface Geometry
GeometryException
public Geometry offset(double distance) throws GeometryOperationNotSupportedException, GeometryOperationException
offset
in interface Geometry
GeometryOperationNotSupportedException
GeometryOperationException
public java.lang.String toString()
toString
in class AbstractPoint
public boolean equals(java.lang.Object obj)
equals
in interface Geometry
equals
in class AbstractGeometry
public Point force3D()
force3D
in interface Point
force3D
in class AbstractGeometry
public Point force2DM()
force2DM
in interface Point
force2DM
in class AbstractGeometry
public Point force3DM()
force3DM
in interface Point
force3DM
in class AbstractGeometry