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