OrientedEdge
Canonical path: NemAll_Python_Geometry.OrientedEdge
Oriented edge Identification of any edge via edge handle and orientation (positive, negative).
HasPositiveOrientation
Get the flag of positive orientation.
Returns:
-
bool
–True when edge have positive orientation, otherwise false.
Set
overloaded
Set(orientedEdge: OrientedEdge)
Initialize edge from old Allplan structure
Parameters:
-
orientedEdge
(OrientedEdge
) –Edge which will be copied.
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) -> object
Equal operator
Parameters:
-
orientedEdge
(OrientedEdge
) –Edge to comparison
Returns:
-
object
–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)