MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / __init__

Method __init__

python/pymesh/Boundary.py:7–12  ·  view source on GitHub ↗
(self, mesh)

Source from the content-addressed store, hash-verified

5
6class Boundary(object):
7 def __init__(self, mesh):
8 self.__mesh = mesh
9 if mesh.num_voxels == 0:
10 self.__init_surface_boundaries()
11 else:
12 self.__init_volume_boundaries()
13
14 def __init_surface_boundaries(self):
15 self.__add_attribute("vertex_normal")

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected