openrndr
Toggle table of contents
0.5.0-dev.0+70e7b47
common
Platform filter
common
Switch theme
Search in API
openrndr
openrndr-kartifex
/
org.openrndr.kartifex
/
Line2
/
distance
distance
fun
distance
(
p
:
Vec2
)
:
Double
(
source
)
Return
the distance from this segment to the point
Parameters
p
a point in 2D space