Finds the closest object to the input curve from a list of input objects (e.g. breps, surfaces, points, curves)