warp.mesh_query_point#
- warp.mesh_query_point( ) MeshQueryPoint#
Kernel
Differentiable
Compute the closest point on the
warp.Meshwith identifieridto the givenpointin space.Identifies the sign of the distance using additional ray-casts to determine if the point is inside or outside. This method is relatively robust, but does increase computational cost. See below for additional sign determination methods.
- Parameters:
id – The mesh identifier
point – The point in space to query
max_dist – Mesh faces above this distance will not be considered by the query.