openrndr
0.4.5-dev.71+14abf6b
common
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