Axis2D
Canonical path: NemAll_Python_Geometry.Axis2D
Representation class for 2D Axis
GetAxisPoint
GetAxisPoint() -> Point2D
GetAxisPoint2
GetAxisPoint2() -> Point2D
Get second axis point. Used world coordinate system.
Returns:
-
Point2D
–Second axis point in world coordinates
GetAxisRelPoint
GetAxisRelPoint() -> Point2D
GetAxisRelPoint2
GetAxisRelPoint2() -> Point2D
Get second axis point. Used local coordinate system
Returns:
-
Point2D
–Second axis point in local coordinates
SetAxisPoint
SetAxisPoint(point: Point2D)
Set axis point, used world coordinate system.
Parameters:
-
point
(Point2D
) –Axis point in world coordinates
SetAxisRelPoint
SetAxisRelPoint(axisPoint: Point2D)
Set axis point, used local coordinate system.
Parameters:
-
axisPoint
(Point2D
) –Axis point in local coordinates
SetRefPoint
SetRefPoint(refPoint: Point2D)
SetVector
SetVector(vector: Vector2D)
__eq__
__eq__(axis: Axis2D) -> bool
Comparison of axes.
Be careful, this method work without tolerance!
Parameters:
-
axis
(Axis2D
) –axis to be compared.
Returns:
-
bool
–True when axes are equal, otherwise false.
Placeholder