public class PolygonSegment extends AbstractSegment implements Iterator<Segment>
geometry| Constructor and Description |
|---|
PolygonSegment(Polygon polygon,
int... segmentId) |
| Modifier and Type | Method and Description |
|---|---|
double |
getCoordinate(int vertexIndex,
int axisIndex) |
Vertex |
getGeometryVertex(int index) |
Polygon |
getPolygon() |
LinearRing |
getRing() |
int |
getRingIndex() |
int[] |
getSegmentId() |
int |
getSegmentIndex() |
boolean |
hasNext() |
boolean |
isLineClosed() |
boolean |
isLineEnd() |
boolean |
isLineStart() |
Segment |
next() |
void |
remove() |
void |
setSegmentId(int... segmentId) |
clone, getAxisCount, getCoordinates, getGeometry, getGeometryFactory, getPartIndex, getSrid, isEmpty, readerangle, closestPoint, closestPoints, compareTo, compareTo, convert, createLineSegment, createPoint, distance, distance, distance, distanceAlong, distanceAlong, distancePerpendicular, equals, equals, equalsTopo, extend, getElevation, getIntersection, getIntersection, getLength, getP0, getP1, getVertexCount, intersection, intersects, isEndPoint, isHorizontal, isPerpendicularTo, isPointOnLineMiddle, isVertical, isWithinDistance, isZeroLength, lineIntersection, midPoint, normalize, orientationIndex, orientationIndex, pointAlong, pointAlongOffset, project, project, projectCoordinate, projectionFactor, projectionFactor, reverse, segmentFraction, touchesEndappendVertex, compareToSameClass, computeBoundingBox, convertCoordinates, copy, deleteVertex, deleteVertex, distance, doEquals, equals, equalsExact, equalsVertex, equalsVertex, equalsVertex, equalsVertex, equalsVertex, getBoundary, getBoundaryDimension, getCoordinatesList, getDataType, getDimension, getEndPoint, getM, getMinVertexCount, getPoint, getPoint, getPointWithin, getSegment, getSegmentCount, getStartPoint, getToVertex, getVertex, getX, getY, getZ, hasVertex, insertVertex, intersects, isClockwise, isClosed, isCounterClockwise, isEquivalentClass, isRing, merge, merge, move, moveCoordinates, moveVertex, moveVertex, orientationIndex, points, prepare, segments, split, subLine, subLine, subLine, subLine, toClockwise, toCounterClockwise, verticesbuffer, buffer, buffer, checkNotGeometryCollection, compare, contains, containsProperly, convert, convexHull, coveredBy, covers, createVertexId, crosses, difference, disjoint, distance, envelopeCovers, envelopesIntersect, equal, equals, equals, equalsExact, equalsNorm, equalsTopo, geometries, getArea, getBoundingBox, getCentroid, getClassSortIndex, getCoordinateSystem, getEnvelope, getGeometries, getGeometries, getGeometry, getGeometryComponents, getGeometryCount, getGeometryType, getInteriorPoint, getNonZeroGeometryFactory, getUserData, getVertexIndex, hashCode, hasInvalidXyCoordinates, hasNonEmptyElements, hasNullElements, intersection, intersects, isAnyTargetComponentInTest, isGeometryCollection, isRectangle, isSimple, isValid, isWithinDistance, overlaps, relate, relate, setUserData, setVertexIndex, symDifference, toString, touches, toWkt, union, union, withinfinalize, getClass, notify, notifyAll, wait, wait, waitangle, closestPoint, closestPoints, distance, distance, distance, distanceAlong, distanceAlong, distancePerpendicular, equals, equalsTopo, getBoundingBox, getElevation, getIntersection, getIntersection, getP0, getP1, intersection, intersects, isEndPoint, isHorizontal, isPerpendicularTo, isPointOnLineMiddle, isVertical, isZeroLength, lineIntersection, midPoint, normalize, orientationIndex, orientationIndex, pointAlong, pointAlongOffset, project, project, projectCoordinate, projectionFactor, projectionFactor, reverse, segmentFraction, touchesEnddistance, equals, equalsVertex, equalsVertex, equalsVertex, equalsVertex, equalsVertex, getCoordinatesList, getEndPoint, getM, getPoint, getSegmentCount, getStartPoint, getX, getY, getZ, hasVertex, isClockwise, isClosed, isCounterClockwise, isRing, merge, merge, move, moveVertex, points, prepare, split, subLine, subLine, subLine, subLineappendVertex, buffer, buffer, buffer, compareTo, 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, getPoint, getPointWithin, getSegment, getToVertex, getUserData, getVertex, getVertexCount, hashCode, hasInvalidXyCoordinates, insertVertex, intersection, intersects, intersects, isRectangle, isSimple, isValid, isWithinDistance, moveVertex, overlaps, relate, relate, segments, setUserData, symDifference, toClockwise, toCounterClockwise, touches, toWkt, union, union, vertices, withingetDataTypepublic PolygonSegment(Polygon polygon, int... segmentId)
public double getCoordinate(int vertexIndex,
int axisIndex)
getCoordinate in interface LineStringgetCoordinate in interface LineSegmentpublic Vertex getGeometryVertex(int index)
getGeometryVertex in interface Segmentpublic Polygon getPolygon()
public LinearRing getRing()
public int getRingIndex()
getRingIndex in interface SegmentgetRingIndex in class AbstractSegmentpublic int[] getSegmentId()
getSegmentId in interface Segmentpublic int getSegmentIndex()
getSegmentIndex in interface SegmentgetSegmentIndex in class AbstractSegmentpublic boolean isLineClosed()
isLineClosed in interface Segmentpublic boolean isLineStart()
isLineStart in interface Segmentpublic void setSegmentId(int... segmentId)
setSegmentId in interface SegmentCopyright © 2015 Revolution Systems Inc.. All rights reserved.