openrndr
Toggle table of contents
0.4.5-dev.17.uncommitted+81afe70
common
Platform filter
common
Switch theme
Search in API
openrndr
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.