Table of Contents

CadGraphEdge

from OpenCAD2D import CadGraphEdge

class CadGraphEdge(System.Object) ยท CadGraphEdge in the .NET reference

One edge of a CadDrawingGraph.

Properties and fields

Kind

.NET

@property
def Kind(self) -> CadGraphEdgeKind

Gets what the edge says.

Source

.NET

@property
def Source(self) -> int

Gets the index of the node the edge leaves: the dimension, the leader, the boundary, the lower index of two that touch.

Target

.NET

@property
def Target(self) -> int

Gets the index of the node the edge arrives at.

X

.NET

@property
def X(self) -> float

Gets x of the place the two meet, in the drawing's own units; NaN for an edge of no one place (a boundary and what it holds).

Y

.NET

@property
def Y(self) -> float

Gets y of the place the two meet, in the drawing's own units; NaN for an edge of no one place.