AxisPlacement2D
Canonical path: NemAll_Python_Geometry.AxisPlacement2D
Representation class for orthogonal axis placement
Placement is given by reference point and direction vector of local x-axis
GetYDirection
GetYDirection() -> Vector2D
IsValid
Check if the placement is valid
Returns:
-
bool
–True if it is a valid placement
SetDirection
SetDirection(dir: Vector2D)
SetRefPoint
SetRefPoint(refPoint: Point2D)
__eq__
__eq__(axis_placement: AxisPlacement2D) -> bool
Comparison of axis placements.
Be careful, this method work without tolerance!
Parameters:
-
axis_placement
(AxisPlacement2D
) –axis placement to be compared.
Returns:
-
bool
–True when axis placements are equal, otherwise false.
__init__
overloaded
Initialize
__init__(placement: AxisPlacement2D)
Copy constructor.
Parameters:
-
placement
(AxisPlacement2D
) –Extruded area placement which will be copied
Placeholder