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.ValidationStatuscoordinateLOGGERBEST, 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, transformarea, 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, withinfinalize, getClass, notify, notifyAll, wait, wait, waitclone, force2D, getCoordinates, getDirectPosition, getX, getY, setCoordinates, setX, setYarea, 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, withincontains, contains, contains, contains, getBounds, intersectsisEmpty, isEmpty, isEmptyQuietlypublic 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()
GeometrygetDimension in interface Geometrypublic GeometryType getGeometryType()
GeometrygetGeometryType in interface GeometrygetGeometryType in class AbstractGeometrypublic Point cloneGeometry()
GeometrycloneGeometry in interface GeometrycloneGeometry in interface Pointpublic 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()
is3D in interface GeometryJTSpublic void setJTSCoordinate(Coordinate coordinate)
setJTSCoordinate in interface PointJTSpublic GeneralPathX getGeneralPath()
GeometrygetGeneralPath in interface Geometrypublic java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform at)
GeometrygetPathIterator in interface java.awt.ShapegetPathIterator in interface Geometryat - The transformation to apply.public int hashCode()
hashCode in class AbstractPointpublic MultiPoint toPoints() throws GeometryException
GeometrytoPoints in interface GeometryGeometryExceptionpublic Geometry offset(double distance) throws GeometryOperationNotSupportedException, GeometryOperationException
offset in interface GeometryGeometryOperationNotSupportedExceptionGeometryOperationExceptionpublic java.lang.String toString()
toString in class AbstractPointpublic boolean equals(java.lang.Object obj)
equals in interface Geometryequals in class AbstractGeometrypublic Point force3D()
force3D in interface Pointforce3D in class AbstractGeometrypublic Point force2DM()
force2DM in interface Pointforce2DM in class AbstractGeometrypublic Point force3DM()
force3DM in interface Pointforce3DM in class AbstractGeometry