Skip to content

Geom.radius()

Description

The radius of a point in the 2D space.

Syntax

JS
Geom.radius(x: Number, y: Number) -> Number

Parameters

Parameter Type Default Value Mandatory Description
x Number ✅ x-coordinate of the point
y Number ✅ y-coordinate of the point

Return value

Type Description
Number The radius of the point with coordinates [x,y] relative to the point [0,0].

Example

JS
let result = Geom.radius(10, 10)
console.info(result) // output: 

See also

Last update: 14 August 2025, 18:47