Defines an axis placement by a location point, an X-direction and a flag whether the placement is right-handed or left-handed.
new Axis2d(
location
,xDirection
,isCCWRotation
):Axis2d
Point2d
= ...
Location point of the axis.
Direction2d
= ...
X direction of the axis.
boolean
= true
Y direction defined by counter-clockwise or clockwise rotation.
location:
Point2d
Location point of the axis.
get xDirection():
Direction2d
Returns x direction of axis placement.
set xDirection(
direction
):void
Sets x and y direction of axis placement.
X direction of axis placement.
void
get yDirection():
Direction2d
Returns y direction of axis placement.
set yDirection(
direction
):void
Sets x and y direction of axis placement.
Y direction of axis placement.
void
clone():
Axis2d
Creates new Axis2d
axis same as this
.
copy(
other
):this
Copies location and directions of the other
axis to this
.
Copied object.
this
setLocation(
location
):this
Sets location of axis placement.
Location of axis placement.
this
setXDirection(
direction
):this
Sets x and y direction of axis placement.
X direction of axis placement.
this
setYDirection(
direction
):this
Sets x and y direction of axis placement.
Y direction of axis placement.
this