darsia.detect_closest_point#
- detect_closest_point(points, target)[source]#
Detects the point closest to a target.
- Parameters:
- points
Union[darsia.VoxelArray,darsia.CoordinateArray] The points to search for the closest one.
- target
Union[darsia.Voxel,darsia.Coordinate] The target point.
- points
- Returns:
Union[darsia.Voxel,darsia.Coordinate]The point in points closest to the target.