Surface
Methods to convert surface objects to VTK data objects
Surface Geometry to VTK
- omfvista.surface.surface_geom_to_vtk(surfgeom, origin=(0.0, 0.0, 0.0))[source]
Convert the triangulated surface to a
pyvista.PolyDataobject- Args:
- surfgeom (
omf.surface.SurfaceGeometry): the surface geomotry to convert
- surfgeom (
Surface Grid Geometry to VTK
- omfvista.surface.surface_grid_geom_to_vtk(surfgridgeom, origin=(0.0, 0.0, 0.0))[source]
Convert the 2D grid to a
pyvista.StructuredGridobject.- Args:
- surfgridgeom (
omf.surface.SurfaceGridGeometry): the surface grid geometry to convert
- surfgridgeom (