RhinoNurbsSurface.closest_point
- RhinoNurbsSurface.closest_point(point, return_parameters=False)[source]
Compute the closest point on the curve to a given point.
- Parameters
point (
compas.geometry.Point
) – The test point.return_parameters (bool, optional) – Return the UV parameters of the closest point in addition to the point location.
- Returns
compas.geometry.Point
– Ifreturn_parameters
is False.compas.geometry.Point
, float, float – Ifreturn_parameters
is True.