PolygonalArea
Canonical path: NemAll_Python_Geometry.PolygonalArea
Methods:
-
AppendEdge
–Append edge (appendPolygonEdge).
-
GetComponentsCount
–Get count of components.
-
GetEdge
–Get edge.
-
GetEdges
–Get copy of all edges.
-
GetEdgesCount
–Get count of edges.
-
GetLoopEndEdgeIndex
–Get the index of last edge of a loop.
-
GetLoopsCount
–Get Count of loops.
-
GetNeighborEdges
–Get neighbor edges.
-
GetNextEdge
–Get next edge.
-
GetPlane
–Get plane if polygon is plane.
-
GetPrevEdge
–Get previous edge.
-
GetVector
–Get Normal vector if polygon is plane.
-
GetVerticesCount
–Get count of vertices.
-
SetPlane
–Set plane.
-
SetVector
–Set normal vector.
AppendEdge
AppendEdge(edge: GeometryEdge) -> eGeometryErrorCode
Append edge (appendPolygonEdge).
Parameters:
-
edge
(GeometryEdge
) –Appended edge.
Returns:
-
eGeometryErrorCode
–Error code.
GetComponentsCount
Get count of components.
Returns:
-
int
–Count of component.
GetEdge
GetEdge(edgeIndex: int) -> tuple
GetEdges
GetEdges() -> tuple
GetLoopEndEdgeIndex
Get the index of last edge of a loop.
Parameters:
-
loopIndex
(int
) –index of loop.
Returns:
-
int
–Index of the last edge of the loop identified by the loopIndex value.
GetNeighborEdges
GetNeighborEdges(edgeIndex: int) -> tuple
GetNextEdge
GetNextEdge(edgeIndex: int) -> tuple
GetPlane
GetPlane() -> tuple
GetPrevEdge
GetPrevEdge(edgeIndex: int) -> tuple
GetVector
GetVector() -> tuple
SetVector
SetVector(vec: Vector3D) -> eGeometryErrorCode
Set normal vector.
Parameters:
-
vec
(Vector3D
) –vector which will be set.
Returns:
-
eGeometryErrorCode
–Error code.
Placeholder