예제 #1
0
 def createCubeBoundary(self):
   """
   Returns a Mesh that is the boundary of the unit cube
   """
   mesh = Mesh()
   self._createCppHandle()
   mesh.cppHandle = self.cppHandle.createCubeBoundary(self.debug)
   return mesh
예제 #2
0
 def create(self, faults=None):
   """
   Generate a Mesh from a boundary
   """
   mesh = Mesh()
   self._createCppHandle()
   mesh.cppHandle = self.cppHandle.generate(self.boundary.cppHandle)
   return mesh