|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vividsolutions.jts.noding.SegmentString
Contains a list of consecutive line segments which can be used to node the segments.
The line segments are represented by an array of Coordinate
s.
Constructor Summary | |
SegmentString(Coordinate[] pts,
java.lang.Object context)
|
Method Summary | |
void |
addIntersection(Coordinate intPt,
int segmentIndex)
Add an EdgeIntersection for intersection intIndex. |
void |
addIntersection(Coordinate intPt,
int segmentIndex,
double dist)
|
void |
addIntersection(LineIntersector li,
int segmentIndex,
int geomIndex,
int intIndex)
Add an SegmentNode for intersection intIndex. |
void |
addIntersections(LineIntersector li,
int segmentIndex,
int geomIndex)
Adds EdgeIntersections for one or both intersections found for a segment of an edge to the edge intersection list. |
java.lang.Object |
getContext()
|
Coordinate |
getCoordinate(int i)
|
Coordinate[] |
getCoordinates()
|
SegmentNodeList |
getIntersectionList()
|
boolean |
isClosed()
|
boolean |
isIsolated()
|
void |
OLDaddIntersection(LineIntersector li,
int segmentIndex,
int geomIndex,
int intIndex)
|
void |
setIsolated(boolean isIsolated)
|
int |
size()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SegmentString(Coordinate[] pts, java.lang.Object context)
Method Detail |
public java.lang.Object getContext()
public SegmentNodeList getIntersectionList()
public int size()
public Coordinate getCoordinate(int i)
public Coordinate[] getCoordinates()
public void setIsolated(boolean isIsolated)
public boolean isIsolated()
public boolean isClosed()
public void addIntersections(LineIntersector li, int segmentIndex, int geomIndex)
public void addIntersection(LineIntersector li, int segmentIndex, int geomIndex, int intIndex)
public void OLDaddIntersection(LineIntersector li, int segmentIndex, int geomIndex, int intIndex)
public void addIntersection(Coordinate intPt, int segmentIndex)
public void addIntersection(Coordinate intPt, int segmentIndex, double dist)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |