Skip to content

Geom.angleX()

Description

Get the angle of a point relative to the coordinate center [0,0,0] in the YOZ plane.

Syntax

JS
Geom.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
1
2
3
4
let point = Geom.point3(100, 100, 100);
let angle = Geom.angleX(point);

console.info(angle); // output:

See also

Last update: 15 August 2025, 14:32