PolyhedronFace
Canonical path: NemAll_Python_Geometry.PolyhedronFace
Polyhedron face All constructors are prohibited, only Polyhedron3D can instantiate this class. This behavior is dependant on old %Allplan architecture and can be changed.
AppendEdge
overloaded
Append edge into face
Parameters:
-
edgeHandle
(int
) –Appended EdgeHandle.
-
positiveOrientation
(bool
) –True for positive, false for negative orientation.
AppendEdge(edge: OrientedEdge)
AppendEdges
AppendEdges(edges: OrientedEdgeList)
GetEdge
GetEdge(edgeIndex: int) -> tuple
GetEdges
GetEdges() -> OrientedEdgeList
GetEdgesCount
Get count of edges
Old interface: getFaceEdgeCount
Returns:
-
int
–Count of edges.
__getitem__
__getitem__(edgeIndex: int) -> OrientedEdge
Get the edge index on specified position
Method can throw exception when index is out of range. Please use the GetEdgeIndex with return flag when you do not used exception handler. Old interface: getFaceEdge
Parameters:
-
edgeIndex
(int
) –Specified position in edge vector.
Returns:
-
OrientedEdge
–Edge index, not reference.
Placeholder