Geom.radius()¶
Description¶
The radius of a point in the 2D space.
Syntax¶
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] . |