Geom.radiusZ()¶
Description¶
Radius of a point in the XOY plane, zero at [0,0,0].
Syntax¶
Parameters¶
Parameter | Type | Default Value | Mandatory | Description |
---|---|---|---|---|
point |
Point3 |
— | Point in three-dimensional space. | |
x |
Number |
— | x-coordinate of the point | |
y |
Number |
— | y-coordinate of the point | |
z |
Number |
— | z-coordinate of the point |
Note
Can be passed either a Point3
object, or separate x
, y
, and z
values.
Return value¶
Type | Description |
---|---|
Number |
Radius of the point relative to [0,0,0] . |
Example¶
```javascript title="JS" linenums="1" let radius1 = Geom.radiusZ(Geom.point3(10,10,10)) console.info(radius1) // output: let radius2 = Geom.radiusZ(10,10,10) console.info(radius2) // output:
Last update: 15 August 2025, 14:32