Path
Canonical path: NemAll_Python_Geometry.Path
Methods:
-
Clear–Clear all geometries from path
-
Count–Count of geometries stored in path
-
GetElement–Get the element by index
-
IsEmpty–Tests whether no elements are present
-
Remove–Remove geometry at the specified position
-
Reverse–Reverse orientation of the PathElement
-
__iter__–Get the iterator
GetElement
Get the element by index
Parameters:
-
index–Element index.
Returns:
-
object–Element
IsEmpty
Tests whether no elements are present
Returns:
-
bool–True for an empty, otherwise false.
Remove
Remove(position: int) -> eGeometryErrorCode
Remove geometry at the specified position
Parameters:
-
position(int) –Specified position of removed geometry.
Returns:
-
eGeometryErrorCode–Error code.
Placeholder