openrndr
0.4.5-dev.12+5bb2cd8
common
openrndr-shape
/
org.openrndr.shape
/
Segment2D
/
nearest
nearest
fun
nearest
(
point
:
Vector2
)
:
SegmentPoint
(
source
)
Find point on segment nearest to given
point
.
Parameters
point
The query point.