kaolin.rep.SDF

check_sign(mesh, points, hash_resolution=512)[source]

Checks if a set of points is contained within a mesh

Parameters
  • mesh (kal.rep.Mesh) – mesh to check against

  • points (torch.Tensor) – points to check

  • hash_resolution – resolution used to check the points sign

Returns

bool value for every point inciating if point is inside object

Example: