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-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.