Methods of type Point3
Below is a list of the available methods provided by the Point3 type. Click on a method name to see its detailed description and examples.
Reflections
| Method |
Description |
| mirrorO() |
Reflects a point about the origin. |
| mirrorX() |
Reflects a point about the X-axis. |
| mirrorY() |
Reflects a point about the Y-axis. |
| mirrorZ() |
Reflects a point about the Z-axis. |
| mirrorXY() |
Reflects a point about the XY-plane. |
| mirrorXZ() |
Reflects a point about the XZ-plane. |
| mirrorYZ() |
Reflects a point about the YZ-plane. |
Translations
| Method |
Description |
| move() |
Moves a point by a given vector. |
| moveX() |
Moves a point along the X-axis. |
| moveY() |
Moves a point along the Y-axis. |
| moveZ() |
Moves a point along the Z-axis. |
Rotations
| Method |
Description |
| rotate() |
Rotates a point around a given axis. |
| rotateX() |
Rotates a point around the X-axis. |
| rotateY() |
Rotates a point around the Y-axis. |
| rotateZ() |
Rotates a point around the Z-axis. |
Scales
| Method |
Description |
| scale() |
Scales a point along all axes. |
| scaleX() |
Scales a point along the X-axis. |
| scaleY() |
Scales a point along the Y-axis. |
| scaleZ() |
Scales a point along the Z-axis. |
| scaleXY() |
Scales a point in the XY-plane. |
| scaleYZ() |
Scales a point in the YZ-plane. |
| scaleXZ() |
Scales a point in the XZ-plane. |
| scaleXYZ() |
Scales a point uniformly along all axes. |
Translations
Additional Methods
| Method |
Description |
| distance() |
Calculates the distance between two points. |
| toPoint2() |
Gets a 2D point. |
Last update: 8 August 2025, 10:36