Skip to content

Geom.angleZ()

Description

Get the angle of a point relative to the origin [0,0,0] in the XOY plane.

Syntax

JS
Geom.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
1
2
3
let point = Geom.point3(100, 100, 100);
let angle = Geom.angleZ(point);
console.info(result); // output:

See also

Last update: 14 August 2025, 18:47