Class DirectedEdgeStar
A sorted collection of DirectedEdge
s which leave a Node
in a PlanarGraph
.
Inheritance
DirectedEdgeStar
Assembly: NetTopologySuite.dll
Syntax
public class DirectedEdgeStar
Properties
|
Improve this Doc
View Source
Coordinate
Returns the coordinate for the node at which this star is based.
Declaration
public Coordinate Coordinate { get; }
Property Value
|
Improve this Doc
View Source
Degree
Returns the number of edges around the Node associated with this DirectedEdgeStar.
Declaration
public int Degree { get; }
Property Value
|
Improve this Doc
View Source
Edges
Returns the DirectedEdges, in ascending order by angle with the positive x-axis.
Declaration
public IList<DirectedEdge> Edges { get; }
Property Value
Methods
|
Improve this Doc
View Source
Add(DirectedEdge)
Adds a new member to this DirectedEdgeStar.
Declaration
public void Add(DirectedEdge de)
Parameters
|
Improve this Doc
View Source
GetEnumerator()
Returns an Iterator over the DirectedEdges, in ascending order by angle with the positive x-axis.
Declaration
public IEnumerator<DirectedEdge> GetEnumerator()
Returns
|
Improve this Doc
View Source
GetIndex(DirectedEdge)
Returns the zero-based index of the given DirectedEdge, after sorting in ascending order
by angle with the positive x-axis.
Declaration
public int GetIndex(DirectedEdge dirEdge)
Parameters
Returns
|
Improve this Doc
View Source
GetIndex(Edge)
Returns the zero-based index of the given Edge, after sorting in ascending order
by angle with the positive x-axis.
Declaration
public int GetIndex(Edge edge)
Parameters
Type |
Name |
Description |
Edge |
edge |
|
Returns
|
Improve this Doc
View Source
GetIndex(Int32)
Returns the remainder when i is divided by the number of edges in this
DirectedEdgeStar.
Declaration
public int GetIndex(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
|
Improve this Doc
View Source
GetNextCWEdge(DirectedEdge)
Returns the DirectedEdge on the right-hand (CW)
side of the given DirectedEdge
(which must be a member of this DirectedEdgeStar).
Declaration
public DirectedEdge GetNextCWEdge(DirectedEdge dirEdge)
Parameters
Returns
|
Improve this Doc
View Source
GetNextEdge(DirectedEdge)
Returns the DirectedEdge on the left-hand
side of the given DirectedEdge
(which must be a member of this DirectedEdgeStar).
Declaration
public DirectedEdge GetNextEdge(DirectedEdge dirEdge)
Parameters
Returns
|
Improve this Doc
View Source
Remove(DirectedEdge)
Drops a member of this DirectedEdgeStar.
Declaration
public void Remove(DirectedEdge de)
Parameters