MCPcopy Create free account
hub / github.com/Sin3DM/Sin3DM / query_sdf

Method query_sdf

data/mesh_sampler.py:104–106  ·  view source on GitHub ↗
(self, points)

Source from the content-addressed store, hash-verified

102 return surf_pts
103
104 def query_sdf(self, points):
105 sdf, fi, bc = pcu.signed_distance_to_mesh(points, self.v_watertight, self.f_watertight)
106 return sdf
107
108 def query_tex(self, points):
109 d, fi, bc = pcu.closest_points_on_mesh(points, self.vs, self.fs)

Callers 1

mesh_sampler.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected