public class PointVertex extends AbstractVertex
geometryNULL_ORDINATE, X, Y, ZM, sortedGeometryTypes| Constructor and Description |
|---|
PointVertex(Point geometry,
int... vertexId) |
| Modifier and Type | Method and Description |
|---|---|
double |
getCoordinate(int vertexIndex)
Gets the ordinate value for the given index.
|
Point |
getPoint()
Returns a vertex of this
Geometry
(usually, but not necessarily, the first one). |
int[] |
getVertexId() |
int |
getVertexIndex() |
boolean |
hasNext() |
Vertex |
next() |
void |
remove() |
void |
setVertexId(int... vertexId) |
clone, getAxisCount, getBoundingBox, getGeometry, getGeometryFactory, getLineNext, getLinePrevious, getPartIndex, getRingIndex, getSrid, isEmpty, isFrom, isTo, readerangle2d, appendVertex, clonePoint, compareTo, compareToSameClass, computeBoundingBox, copy, copyCoordinates, deleteVertex, distance, distance, distance3d, doEquals, equals, equals, equals, equals2d, equalsExact, getBoundary, getBoundaryDimension, getCoordinates, getDataType, getDimension, getM, 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, getCentroid, getClassSortIndex, getCoordinateSystem, getEnvelope, getGeometries, getGeometries, getGeometry, getGeometryComponents, getGeometryCount, getGeometryType, getInteriorPoint, getLength, getNonZeroGeometryFactory, getUserData, getVertexIndex, hasInvalidXyCoordinates, hasNonEmptyElements, hasNullElements, intersection, intersects, isAnyTargetComponentInTest, isGeometryCollection, isRectangle, isWithinDistance, overlaps, relate, relate, setUserData, setVertexIndex, symDifference, toClockwise, toCounterClockwise, toString, touches, toWkt, union, union, withinfinalize, getClass, notify, notifyAll, wait, wait, waitangle2d, clonePoint, compareTo, copyCoordinates, distance, distance, distance3d, equals, equals, equals2d, getCoordinates, getM, getTime, getX, getY, getZ, move, normalize, prepareappendVertex, buffer, buffer, buffer, compareToSameClass, contains, containsProperly, convert, convert, convexHull, copy, coveredBy, covers, crosses, deleteVertex, difference, disjoint, distance, equal, equals, equals, equals, equalsExact, equalsExact, equalsNorm, equalsTopo, geometries, getArea, getBoundary, getBoundaryDimension, getCentroid, getClassSortIndex, getCoordinateSystem, getDimension, getEnvelope, getGeometries, getGeometries, getGeometry, getGeometryComponents, getGeometryCount, getGeometryType, getInteriorPoint, getLength, getPointWithin, getSegment, getToVertex, getUserData, getVertex, getVertexCount, hashCode, hasInvalidXyCoordinates, insertVertex, intersection, intersects, intersects, isRectangle, isSimple, isValid, isWithinDistance, moveVertex, overlaps, relate, relate, reverse, segments, setUserData, symDifference, toClockwise, toCounterClockwise, touches, toWkt, union, union, vertices, withingetDataTypepublic PointVertex(Point geometry, int... vertexId)
public double getCoordinate(int vertexIndex)
PointPoint.X, Point.Y, and Point.Z.getCoordinate in interface PointgetCoordinate in class AbstractVertexvertexIndex - the ordinate indexpublic Point getPoint()
AbstractGeometryGeometry
(usually, but not necessarily, the first one).
The returned coordinate should not be assumed
to be an actual Point object used in
the internal representation.getPoint in interface GeometrygetPoint in class AbstractPointCoordinates which is a vertex of this Geometry.public int[] getVertexId()
getVertexId in interface VertexgetVertexId in class AbstractVertexpublic int getVertexIndex()
getVertexIndex in interface VertexgetVertexIndex in class AbstractVertexpublic boolean hasNext()
public Vertex next()
public void remove()
public void setVertexId(int... vertexId)
Copyright © 2015 Revolution Systems Inc.. All rights reserved.