SwiftfuncGeometrygeom_cubic_bezier_2f

closestPoint

geom_cubic_bezier_2f.closestPoint(to: SIMD2<Float>) -> (point: SIMD2<Float>, closestT: Float, squaredDistance: Float)

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

param{}

  1. 0to:

result{}

tuple(point: SIMD2<Float>, closestT: Float, squaredDistance: Float)