Geom.angleX()
Description
Get the angle of a point relative to the coordinate center [0,0,0]
in the YOZ plane.
Syntax
JSGeom.angleX(point: Point3) -> Number
Parameters
Parameter |
Type |
Description |
point |
Point3 |
Three-dimensional point. |
Return value
Type |
Description |
Number |
Angle of the point in degrees relative to the center [0,0,0] in the YOZ 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.angleX(point);
console.info(angle); // output:
|
Last update: 15 August 2025, 14:32