openrndr
0.4.5-dev.17+38f5452
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