EdgeIntersectionList class
A list of edge intersections along an {@link Edge}. Implements splitting an edge with intersections into multiple resultant edges.
@version 1.7
Constructors
- EdgeIntersectionList(Edge edge)
Properties
Methods
-
add(
Coordinate intPt, int segmentIndex, double dist) → EdgeIntersection - Adds an intersection into the list, if it isn't already there. The input segmentIndex and dist are expected to be normalized. @return the EdgeIntersection found or added
-
addEndpoints(
) → void - Adds entries for the first and last points of the edge to the list
-
addSplitEdges(
List edgeList) → void - Creates new edges for all the edges that the intersections in this list split the parent edge into. Adds the edges to the input list (this is so a single list can be used to accumulate all split edges for a Geometry).
-
createSplitEdge(
EdgeIntersection ei0, EdgeIntersection ei1) → Edge - Create a new "split edge" with the section of points between (and including) the two intersections. The label for the new edge is the same as the label for the parent edge.
-
isIntersection(
Coordinate pt) → bool - Tests if the given point is an edge intersection
-
iterator(
) → Iterator - Returns an iterator of {@link EdgeIntersection}s
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited