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.PolyData
object- 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.StructuredGrid
object.- Args:
- surfgridgeom (
omf.surface.SurfaceGridGeometry
): the surface grid geometry to convert
- surfgridgeom (