Class EdgeList
A EdgeList is a list of Edges. It supports locating edges
that are point-wise equals to a target edge.
Assembly: NetTopologySuite.dll
Syntax
Properties
|
Improve this Doc
View Source
Edges
Declaration
public IList<Edge> Edges { get; }
Property Value
|
Improve this Doc
View Source
Item[Int32]
Declaration
public Edge this[int index] { get; }
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Property Value
Methods
|
Improve this Doc
View Source
Add(Edge)
Insert an edge unless it is already in the list.
Declaration
Parameters
Type |
Name |
Description |
Edge |
e |
An Edge
|
|
Improve this Doc
View Source
AddAll(IEnumerable<Edge>)
Declaration
public void AddAll(IEnumerable<Edge> edgeColl)
Parameters
|
Improve this Doc
View Source
FindEdgeIndex(Edge)
If the edge e is already in the list, return its index.
Declaration
public int FindEdgeIndex(Edge e)
Parameters
Type |
Name |
Description |
Edge |
e |
An Edge
|
Returns
Type |
Description |
Int32 |
The index, if e is already in the list,
-1 otherwise.
|
|
Improve this Doc
View Source
FindEqualEdge(Edge)
If there is an edge equal to e already in the list, return it.
Otherwise return null.
Declaration
public Edge FindEqualEdge(Edge e)
Parameters
Type |
Name |
Description |
Edge |
e |
An Edge
|
Returns
Type |
Description |
Edge |
The equal edge, if there is one already in the list,
null otherwise.
|
|
Improve this Doc
View Source
Get(Int32)
Declaration
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
|
Improve this Doc
View Source
GetEnumerator()
Declaration
public IEnumerator<Edge> GetEnumerator()
Returns
|
Improve this Doc
View Source
Remove(Edge)
Remove the selected Edge element from the list if present.
Declaration
public void Remove(Edge e)
Parameters
Type |
Name |
Description |
Edge |
e |
Edge element to remove from list
|
|
Improve this Doc
View Source
Write(StreamWriter)
Declaration
public void Write(StreamWriter outstream)
Parameters