Class EdgeIntersectionList
A list of edge intersections along an Edge.
Inheritance
EdgeIntersectionList
Assembly: NetTopologySuite.dll
Syntax
public class EdgeIntersectionList
Constructors
|
Improve this Doc
View Source
EdgeIntersectionList(Edge)
Declaration
public EdgeIntersectionList(Edge edge)
Parameters
Type |
Name |
Description |
Edge |
edge |
|
Properties
|
Improve this Doc
View Source
Count
Declaration
public int Count { get; }
Property Value
Methods
|
Improve this Doc
View Source
Add(Coordinate, Int32, Double)
Adds an intersection into the list, if it isn't already there.
The input segmentIndex and dist are expected to be normalized.
Declaration
public EdgeIntersection Add(Coordinate intPt, int segmentIndex, double dist)
Parameters
Type |
Name |
Description |
Coordinate |
intPt |
The point of intersection
|
Int32 |
segmentIndex |
The index of the containing line segment in the parent edge
|
Double |
dist |
The edge distance of this point along the containing line segment
|
Returns
|
Improve this Doc
View Source
AddEndpoints()
Adds entries for the first and last points of the edge to the list.
Declaration
public void AddEndpoints()
|
Improve this Doc
View Source
AddSplitEdges(IList<Edge>)
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).
Declaration
public void AddSplitEdges(IList<Edge> edgeList)
Parameters
|
Improve this Doc
View Source
CreateSplitEdge(EdgeIntersection, EdgeIntersection)
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.
Declaration
public Edge CreateSplitEdge(EdgeIntersection ei0, EdgeIntersection ei1)
Parameters
Returns
|
Improve this Doc
View Source
GetEnumerator()
Returns an iterator of EdgeIntersections.
Declaration
public IEnumerator<EdgeIntersection> GetEnumerator()
Returns
|
Improve this Doc
View Source
IsIntersection(Coordinate)
Declaration
public bool IsIntersection(Coordinate pt)
Parameters
Returns
|
Improve this Doc
View Source
Write(StreamWriter)
Declaration
public void Write(StreamWriter outstream)
Parameters