openrndr
Toggle table of contents
0.5.0-dev.24+01d4f82
common
Target filter
common
Switch theme
Search in API
Skip to content
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