Interface NodableSegmentString
- All Superinterfaces:
SegmentString
- All Known Implementing Classes:
NodedSegmentString
An interface for classes which support adding nodes to
a segment string.
- Author:
- Martin Davis
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddIntersection(Coordinate intPt, int segmentIndex) Adds an intersection node for a given point and segment to this segment string.Methods inherited from interface SegmentString
getCoordinate, getCoordinates, getData, isClosed, nextInRing, prevInRing, setData, size
-
Method Details
-
addIntersection
Adds an intersection node for a given point and segment to this segment string.- Parameters:
intPt- the location of the intersectionsegmentIndex- the index of the segment containing the intersection
-