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) – If True, return the UV parameters of the closest point as tuple in addition to the point location.
- Returns
compas.geometry.Point
– If return_parameters is False.compas.geometry.Point
, (float, float) – If return_parameters is True.