public class Point extends Geometry
| Constructor and Description |
|---|
Point(Point point) |
Point(PointSequence sequence) |
Point(PointSequence sequence,
GeometryOperations geometryOperations) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(GeometryVisitor visitor)
Accepts a
GeometryVisitor. |
static Point |
createEmpty() |
Geometry |
getBoundary()
Returns the boundary of this
Geometry. |
int |
getDimension()
Returns the topological dimension of this instance.
|
GeometryType |
getGeometryType()
Returns the type of this
Geometry. |
double |
getM()
Returns the M-coordinate of this
Point. |
PointSequence |
getPoints()
Returns the
PointCollection that is associated with this instance |
double |
getX()
Returns the X-coordinate of this
Point. |
double |
getY()
Returns the Y-coordinate of this
Point. |
double |
getZ()
Returns the Z-coordinate of this
Point. |
boolean |
isSimple()
Tests if this
Geometry is simple; i.e. |
asBinary, asText, buffer, collectPointSets, contains, convexHull, crosses, difference, disjoint, distance, equals, getCoordinateDimension, getCrsId, getCrsId, getDimensionalFlag, getEnvelope, getGeometryOperations, getGeometryOperations, getNumPoints, getPointN, getSRID, hashCode, intersection, intersects, is3D, isEmpty, isMeasured, locateAlong, locateBetween, overlaps, relate, symDifference, toString, touches, union, withinpublic Point(PointSequence sequence, GeometryOperations geometryOperations)
public Point(PointSequence sequence)
public Point(Point point)
public static Point createEmpty()
public PointSequence getPoints()
GeometryPointCollection that is associated with this instancepublic double getX()
Point.
If this Point is empty, it returns Double.NaN.
Pointpublic double getY()
Point.
If this Point is empty, it returns Double.NaN.
Pointpublic double getZ()
Point.
If this Point is empty, it returns Double.NaN.
Pointpublic double getM()
Point.
If this Point is empty, it returns Double.NaN.
Pointpublic int getDimension()
GeometryGeometries.getDimension in class Geometrypublic GeometryType getGeometryType()
GeometryGeometry.getGeometryType in class GeometryGeometryType of this instance.public boolean isSimple()
GeometryGeometry is simple; i.e. has no anomalous geometric points such as
self-intersections or self-tangency.public Geometry getBoundary()
GeometryGeometry.getBoundary in class Geometrypublic void accept(GeometryVisitor visitor)
GeometryGeometryVisitor.
If this Geometry instance is a GeometryCollection then it will pass the
visitor to its contained Geometries.
Copyright © 2015 geolatte.org. All rights reserved.