Function or value | Description |
Full Usage:
direction axis
Parameters:
Axis2D<'Units, 'Coordinates>
Returns: Direction2D<'Coordinates>
|
|
|
![]() ![]() ![]() ![]() ![]() ![]() Mirror one axis across another. The axis to mirror across is given first and the axis to mirror is given second. Axis2D.mirrorAcross Axis2D.x exampleAxis --> Axis2D.through (Point2D.meters 1. -3.) --> (Direction2D.degrees -30.)
|
|
|
|
|
|
![]() ![]() ![]() ![]() ![]() ![]() Take an axis defined in local coordinates relative to a given reference frame, and return that axis expressed in global coordinates.
|
|
![]() ![]() ![]() ![]() ![]() ![]() Take an axis defined in global coordinates, and return it expressed in local coordinates relative to a given reference frame.
|
|
|
|
![]() ![]() ![]() ![]() ![]() ![]() Rotate an axis around a given center point by a given angle. Rotates the axis' origin point around the given point by the given angle and the axis' direction by the given angle.
|
|
|
Full Usage:
through origin direction
Parameters:
Point2D<'Units, 'Coordinates>
direction : Direction2D<'Coordinates>
Returns: Axis2D<'Units, 'Coordinates>
|
|
|
|
|
![]() ![]() ![]() ![]() ![]() ![]() Translate an axis by a given displacement. Applies the given displacement to the axis' origin point and leaves the direction unchanged.
|
Full Usage:
translateIn translationDirection distance axis
Parameters:
Direction2D<'Coordinates>
distance : Quantity<'Units>
axis : Axis2D<'Units, 'Coordinates>
Returns: Axis2D<'Units, 'Coordinates>
|
|
Full Usage:
withDirection direction point
Parameters:
Direction2D<'Coordinates>
point : Point2D<'Units, 'Coordinates>
Returns: Axis2D<'Units, 'Coordinates>
|
|
|
|
|