openrndr
0.4.5-dev.4.uncommitted+98ebace
common
openrndr-shape
/
org.openrndr.shape
/
LineSegment
/
distance
distance
fun
distance
(
query
:
Vector2
)
:
Double
(
source
)
Finds the shortest distance to the
LineSegment
from given point.
Parameters
query
The query point.