public interface Segment extends LineSegment, Iterator<Segment>, GeometryComponent
| Modifier and Type | Method and Description |
|---|---|
Segment |
clone()
Creates and returns a full copy of this
LineString object. |
<V extends Geometry> |
getGeometry() |
Vertex |
getGeometryVertex(int index) |
int |
getPartIndex() |
int |
getRingIndex() |
int[] |
getSegmentId() |
int |
getSegmentIndex() |
int |
getSrid()
Returns the ID of the Spatial Reference System used by the
Geometry. |
boolean |
isEmpty()
Tests whether the set of points covered by this
Geometry is
empty. |
boolean |
isLineClosed() |
boolean |
isLineEnd() |
boolean |
isLineStart() |
Reader<Segment> |
reader() |
void |
setSegmentId(int[] segmentId) |
angle, closestPoint, closestPoints, distance, distance, distance, distanceAlong, distanceAlong, distancePerpendicular, equals, equalsTopo, getAxisCount, getBoundingBox, getCoordinate, getElevation, getGeometryFactory, 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, getCoordinates, 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, withingetDataTypeSegment clone()
LineStringLineString object.
(including all coordinates contained by it).clone in interface Geometryclone in interface LineString<V extends Geometry> V getGeometry()
Vertex getGeometryVertex(int index)
int getPartIndex()
int getRingIndex()
int[] getSegmentId()
int getSegmentIndex()
int getSrid()
GeometryGeometry.
JTS supports Spatial Reference System information in the simple way
defined in the SFS. A Spatial Reference System ID (SRID) is present in
each Geometry object. Geometry provides basic
accessor operations for this field, but no others. The SRID is represented
as an integer.
boolean isEmpty()
GeometryGeometry is
empty.boolean isLineClosed()
boolean isLineEnd()
boolean isLineStart()
void setSegmentId(int[] segmentId)
Copyright © 2015 Revolution Systems Inc.. All rights reserved.