Constructor and Description |
---|
EdgeIntersectionList(Edge edge) |
Modifier and Type | Method and Description |
---|---|
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(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
|
Iterator |
iterator()
Returns an iterator of
EdgeIntersection s |
void |
print(PrintStream out) |
public EdgeIntersectionList(Edge edge)
public EdgeIntersection add(Coordinate intPt, int segmentIndex, double dist)
public Iterator iterator()
EdgeIntersection
spublic boolean isIntersection(Coordinate pt)
pt
- the point to testpublic void addEndpoints()
public void addSplitEdges(List edgeList)
edgeList
- a list of EdgeIntersectionspublic void print(PrintStream out)
Copyright © 2020. All rights reserved.