DivisionPoints
Canonical path: NemAll_Python_Geometry.DivisionPoints
Class for DivisionPoints
Methods:
-
Count–Get number of division points
-
GetEndPoint–Get the end point
-
GetEndPointAngle–Get the angle at the end point
-
GetPoint–Get division point
-
GetPointAngle–Get the angle of a division point
-
GetPointAngles–Get the angles of the division points
-
GetPoints–Get the calculated division points
-
GetStartPoint–Get the start point
-
GetStartPointAngle–Get the angle at the start point
-
IsSuccessful–Get the result of the computation
-
__init__–Overloaded function. See individual overloads.
GetEndPointAngle
GetEndPointAngle() -> Angle
GetPoint
GetPoint(index: int) -> Point3D
Get division point
Parameters:
-
index(int) –index of the division point
Returns:
-
Point3D–division point as Point3D
GetPointAngle
GetPointAngle(index: int) -> Angle
Get the angle of a division point
Parameters:
-
index(int) –index of the division point
Returns:
-
Angle–angle as Angle
GetPointAngles
GetPointAngles() -> AngleList
Get the angles of the division points
Returns:
-
AngleList–copy of the angles of the division points as vector of Angle
GetPoints
GetPoints() -> Point3DList
Get the calculated division points
Returns:
-
Point3DList–copy of the division points as vector of Point3D
GetStartPointAngle
GetStartPointAngle() -> Angle
IsSuccessful
Get the result of the computation
Returns:
-
bool–Computation successful: true / false
__init__
overloaded
__init__(path: Path2D, sectionLength: float, eps: float)
Constructor
Parameters:
-
path(Path2D) –Path to divide
-
sectionLength(float) –length of one division section
-
eps(float) –tolerance
Constructor
Parameters:
-
geoObject(object) –object to divide
-
number(int) –number of division points
-
eps(float) –tolerance
__init__(path: Path2D, number: int, eps: float)
Constructor
Parameters:
-
path(Path2D) –Path to divide
-
number(int) –number of division points
-
eps(float) –tolerance
Constructor
Parameters:
-
geoObject(object) –object to divide
-
sectionLength(float) –length of one division section
-
eps(float) –tolerance