mymesh.octree.Voxel2Octree#
- mymesh.octree.Voxel2Octree(VoxelCoords, VoxelConn)[source]#
Generate an octree representation of an isotropic voxel mesh.
- Parameters:
VoxelCoords (array_like) – Node coordinates of the voxel mesh
VoxelConn (array_like) – Node connectivity of the voxel mesh
- Returns:
root – Root node of the generated octree structure
- Return type:
octree.OctreeNode