NurbsSurface.closest_point

NurbsSurface.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