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{}
- 0to:structSwift.SIMD2
result{}
tuple
(point: SIMD2<Float>, closestT: Float, squaredDistance: Float)