[ DraftVecUtils.cloest ] Elaborate documentation

This commit is contained in:
paul lee
2020-08-06 05:54:56 +08:00
committed by Yorik van Havre
parent 1227bac5bf
commit 1ff7843357

View File

@@ -622,8 +622,12 @@ def closest(vector, vlist, returnLength=False):
-------
int
The index of the list where the closest point is found.
dist
The distance (no unit) of the tested point from the found closest point.
int, dist
The index,
and the distance to the closest point (numeric value only, no unit)
if returnLength is True.
"""
typecheck([(vector, Vector), (vlist, list)], "closest")