OrientedEdge
Canonical path: NemAll_Python_Geometry.OrientedEdge
Representation class for the oriented edge
Identification of any edge via edge handle and orientation (positive, negative).
EdgeHandle
property
writable
Get handle to the edge
edgeHandle is not checked, you set anything.
HasPositiveOrientation
Get the flag of positive orientation.
Returns:
-
bool
–True when edge have positive orientation, otherwise false.
Set
overloaded
Set(orientedEdge: OrientedEdge)
Set edge handle and orientation
Handle is not checked, you set anything.
Parameters:
-
edgeHandle
(int
) –Handle to the edge which will be set.
-
positiveOrientation
(bool
) –Set true when orientation is positive, otherwise false.
SetEdgeHandle
Set handle to the edge
edgeHandle is not checked, you set anything.
Parameters:
-
edgeHandle
(int
) –Handle to the edge which will be set.
SetOrientation
Set orientation
Parameters:
-
positiveOrientation
(bool
) –Set true when orientation is positive, otherwise false.
__eq__
__eq__(orientedEdge: OrientedEdge) -> bool
Equal operator
Parameters:
-
orientedEdge
(OrientedEdge
) –Edge to comparison
Returns:
-
bool
–True when both edges are equal.
__init__
overloaded
Initialize
Constructor
Parameters:
-
edgeHandle
(int
) –Set edge handle.
-
positiveOrientation
(bool
) –Set orientation, true for positive, false for negative
__init__(orientedEdge: OrientedEdge)