openrndr
Toggle table of contents
0.4.5-dev.12+0b4c189
common
Platform filter
common
Switch theme
Search in API
openrndr
openrndr-shape
/
org.openrndr.shape
/
LineSegment
/
nearest
nearest
fun
nearest
(
query
:
Vector2
)
:
Vector2
(
source
)
Finds point on the
LineSegment
that is nearest to the given point.
Parameters
query
The query point.