Class PolygonizeDirectedEdge
- Namespace
- NetTopologySuite.Operation.Polygonize
- Assembly
- NetTopologySuite.dll
A DirectedEdge
of a PolygonizeGraph
, which represents
an edge of a polygon formed by the graph.
May be logically deleted from the graph by setting the marked
flag.
public class PolygonizeDirectedEdge : DirectedEdge, IComparable
- Inheritance
-
PolygonizeDirectedEdge
- Implements
- Inherited Members
Constructors
PolygonizeDirectedEdge(Node, Node, Coordinate, bool)
Constructs a directed edge connecting the from
node to the
to
node.
public PolygonizeDirectedEdge(Node from, Node to, Coordinate directionPt, bool edgeDirection)
Parameters
from
Nodeto
NodedirectionPt
CoordinateSpecifies this DirectedEdge's direction (given by an imaginary line from the
from
node todirectionPt
).edgeDirection
boolWhether this DirectedEdge's direction is the same as or opposite to that of the parent Edge (if any).
Properties
IsInRing
Returns the ring of directed edges that this directed edge is a member of, or null if the ring has not been set.
public bool IsInRing { get; }
Property Value
Label
Returns the identifier attached to this directed edge. Attaches an identifier to this directed edge.
public long Label { get; set; }
Property Value
Next
Returns the next directed edge in the EdgeRing that this directed edge is a member of. Sets the next directed edge in the EdgeRing that this directed edge is a member of.
public PolygonizeDirectedEdge Next { get; set; }
Property Value
Ring
Gets/Sets the ring of directed edges that this directed edge is a member of.
public EdgeRing Ring { get; set; }