RhinoNurbsSurface.closest_point

RhinoNurbsSurface.closest_point(point, return_parameters=False)[source]

Compute the closest point on the curve to a given point.

Parameters
  • point (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

  • Point – If return_parameters is False.

  • Point, (float, float) – If return_parameters is True.