discretize.MeshIO.TreeMeshIO

class discretize.MeshIO.TreeMeshIO[source]

Bases: object

Attributes

Methods

TreeMeshIO.readModelUBC(fileName)[source]

Read UBC OcTree model and get vector :param string fileName: path to the UBC GIF model file to read :rtype: numpy.ndarray :return: OcTree model

classmethod TreeMeshIO.readUBC(meshFile)[source]

Read UBC 3D OcTree mesh file Input: :param str meshFile: path to the UBC GIF OcTree mesh file to read :rtype: discretize.TreeMesh :return: The octree mesh

TreeMeshIO.writeUBC(fileName, models=None)[source]

Write UBC ocTree mesh and model files from a octree mesh and model. :param string fileName: File to write to :param dict models: Models in a dict, where each key is the filename