AxisPlacement3D
Canonical path: NemAll_Python_Geometry.AxisPlacement3D
Representation class for orthogonal axis placement in 3D space
Placement is given by Origin and 2 direction vectors - local x-axis and local z-axis. y-axis is computed on demand
CalcGlobalPoint
CalcLocalPoint
GetRotationMatrix
GetRotationMatrix() -> Matrix3D
GetTransformationMatrix
GetTransformationMatrix() -> Matrix3D
GetXDirection
GetXDirection() -> Vector3D
GetYDirection
GetYDirection() -> Vector3D
GetZDirection
GetZDirection() -> Vector3D
IsValid
Check if the placement is valid
Returns:
-
bool
–True if it is a valid placement
RotateAroundLocalZAxis
RotateAroundLocalZAxis(angle: Angle)
Set
SetXDirection
SetXDirection(dir: Vector3D)
SetZDirection
SetZDirection(dir: Vector3D)
__eq__
__eq__(axis_placement: AxisPlacement3D) -> bool
Comparison of axis placements.
Be careful, this method work without tolerance!
Parameters:
-
axis_placement
(AxisPlacement3D
) –axis placement to be compared.
Returns:
-
bool
–True when axis placements are equal, otherwise false.
__init__
overloaded
Initialize
__init__(placement: AxisPlacement3D)
__init__(refPoint: Point3D)
__init__(matrix: Matrix3D)
Placeholder