Class PolygonizeDirectedEdge
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.
Implements
Inherited Members
Namespace: NetTopologySuite.Operation.Polygonize
Assembly: NetTopologySuite.dll
Syntax
public class PolygonizeDirectedEdge : DirectedEdge, IComparable
Constructors
| Improve this Doc View SourcePolygonizeDirectedEdge(Node, Node, Coordinate, Boolean)
Constructs a directed edge connecting the from
node to the
to
node.
Declaration
public PolygonizeDirectedEdge(Node from, Node to, Coordinate directionPt, bool edgeDirection)
Parameters
Type | Name | Description |
---|---|---|
Node | from | |
Node | to | |
Coordinate | directionPt | Specifies this DirectedEdge's direction (given by an imaginary
line from the |
Boolean | edgeDirection | Whether this DirectedEdge's direction is the same as or opposite to that of the parent Edge (if any). |
Properties
| Improve this Doc View SourceIsInRing
Returns the ring of directed edges that this directed edge is a member of, or null if the ring has not been set.
Declaration
public bool IsInRing { get; }
Property Value
Type | Description |
---|---|
Boolean |
Label
Returns the identifier attached to this directed edge. Attaches an identifier to this directed edge.
Declaration
public long Label { get; set; }
Property Value
Type | Description |
---|---|
Int64 |
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.
Declaration
public PolygonizeDirectedEdge Next { get; set; }
Property Value
Type | Description |
---|---|
PolygonizeDirectedEdge |
Ring
Gets/Sets the ring of directed edges that this directed edge is a member of.
Declaration
public EdgeRing Ring { get; set; }
Property Value
Type | Description |
---|---|
EdgeRing |