Geom.angleZ()
Description
Get the angle of a point relative to the origin [0,0,0] in the XOY plane.
Syntax
JSGeom.angleX(point: Point3) -> Number
Parameters
Parameter |
Type |
Description |
point |
Point3 |
A point in three-dimensional space |
Return value
Type |
Description |
Number |
The angle of the point in degrees relative to the origin [0,0,0] in the XOY plane. Zero corresponds to the direction "three o'clock", increasing the angle clockwise. |
Example
JS |
---|
| let point = Geom.point3(100, 100, 100);
let angle = Geom.angleZ(point);
console.info(result); // output:
|
Last update: 14 August 2025, 18:47