public class PreparedPoint extends AbstractPoint
NULL_ORDINATE, X, Y, ZM, sortedGeometryTypes| Constructor and Description |
|---|
PreparedPoint(Point point) |
| Modifier and Type | Method and Description |
|---|---|
BoundingBox |
getBoundingBox()
Gets an
BoundingBoxDoubleGf containing
the minimum and maximum x and y values in this Geometry. |
double |
getCoordinate(int axisIndex)
Gets the ordinate value for the given index.
|
GeometryFactory |
getGeometryFactory()
Gets the geometryFactory which contains the context in which this geometry was created.
|
boolean |
intersects(Geometry geometry)
Tests whether this point intersects a
Geometry. |
boolean |
isEmpty()
Tests whether the set of points covered by this
Geometry is
empty. |
angle2d, appendVertex, clone, clonePoint, compareTo, compareToSameClass, computeBoundingBox, copy, copyCoordinates, deleteVertex, distance, distance, distance3d, doEquals, equals, equals, equals, equals2d, equalsExact, getBoundary, getBoundaryDimension, getCoordinates, getDataType, getDimension, getM, getPoint, getPointWithin, getSegment, getTime, getToVertex, getVertex, getVertexCount, getX, getY, getZ, hashCode, insertVertex, intersects, isEquivalentClass, isSimple, isValid, move, moveVertex, normalize, prepare, reverse, segments, verticesbuffer, buffer, buffer, checkNotGeometryCollection, compare, contains, containsProperly, convert, convert, convexHull, coveredBy, covers, createVertexId, crosses, difference, disjoint, distance, envelopeCovers, envelopesIntersect, equal, equals, equals, equalsExact, equalsNorm, equalsTopo, geometries, getArea, getAxisCount, getCentroid, getClassSortIndex, getCoordinateSystem, getEnvelope, getGeometries, getGeometries, getGeometry, getGeometryComponents, getGeometryCount, getGeometryType, getInteriorPoint, getLength, getNonZeroGeometryFactory, getSrid, getUserData, getVertexIndex, hasInvalidXyCoordinates, hasNonEmptyElements, hasNullElements, intersection, isAnyTargetComponentInTest, isGeometryCollection, isRectangle, isWithinDistance, overlaps, relate, relate, setUserData, setVertexIndex, symDifference, toClockwise, toCounterClockwise, toString, touches, toWkt, union, union, withinfinalize, getClass, notify, notifyAll, wait, wait, waitbuffer, buffer, buffer, contains, containsProperly, convert, convert, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, equal, equals, equals, equalsExact, equalsNorm, equalsTopo, geometries, getArea, getAxisCount, getCentroid, getClassSortIndex, getCoordinateSystem, getEnvelope, getGeometries, getGeometries, getGeometry, getGeometryComponents, getGeometryCount, getGeometryType, getInteriorPoint, getLength, getSrid, getUserData, hasInvalidXyCoordinates, intersection, isRectangle, isWithinDistance, overlaps, relate, relate, setUserData, symDifference, toClockwise, toCounterClockwise, touches, toWkt, union, union, withinpublic PreparedPoint(Point point)
public BoundingBox getBoundingBox()
AbstractGeometryBoundingBoxDoubleGf containing
the minimum and maximum x and y values in this Geometry.
If the geometry is empty, an empty BoundingBoxDoubleGf
is returned.
The returned object is a copy of the one maintained internally, to avoid aliasing issues. For best performance, clients which access this boundingBox frequently should cache the return value.
getBoundingBox in interface GeometrygetBoundingBox in class AbstractGeometryGeometry.public double getCoordinate(int axisIndex)
PointPoint.X, Point.Y, and Point.Z.axisIndex - the ordinate indexpublic GeometryFactory getGeometryFactory()
GeometrygetGeometryFactory in interface GeometrygetGeometryFactory in class AbstractPointpublic boolean intersects(Geometry geometry)
Geometry.
The optimization here is that computing topology for the test geometry is avoided. This can be significant for large geometries.
intersects in interface Geometryintersects in class AbstractGeometrygeometry - the Geometry with which to compare this Geometrytrue if the two Geometrys intersectGeometry.disjoint(com.revolsys.jts.geom.Geometry)public boolean isEmpty()
AbstractGeometryGeometry is
empty.isEmpty in interface GeometryisEmpty in class AbstractPointtrue if this Geometry does not cover any pointsCopyright © 2015 Revolution Systems Inc.. All rights reserved.