|
JTS Topology Suite - v 1.12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vividsolutions.jts.geomgraph.EdgeIntersectionList
public class EdgeIntersectionList
A list of edge intersections along an Edge
.
Implements splitting an edge with intersections
into multiple resultant edges.
Constructor Summary | |
---|---|
EdgeIntersectionList(Edge edge)
|
Method Summary | |
---|---|
EdgeIntersection |
add(Coordinate intPt,
int segmentIndex,
double dist)
Adds an intersection into the list, if it isn't already there. |
void |
addEndpoints()
Adds entries for the first and last points of the edge to the list |
void |
addSplitEdges(java.util.List edgeList)
Creates new edges for all the edges that the intersections in this list split the parent edge into. |
boolean |
isIntersection(Coordinate pt)
Tests if the given point is an edge intersection |
java.util.Iterator |
iterator()
Returns an iterator of EdgeIntersection s |
void |
print(java.io.PrintStream out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EdgeIntersectionList(Edge edge)
Method Detail |
---|
public EdgeIntersection add(Coordinate intPt, int segmentIndex, double dist)
public java.util.Iterator iterator()
EdgeIntersection
s
public boolean isIntersection(Coordinate pt)
pt
- the point to test
public void addEndpoints()
public void addSplitEdges(java.util.List edgeList)
edgeList
- a list of EdgeIntersectionspublic void print(java.io.PrintStream out)
|
JTS Topology Suite - v 1.12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |