get_surf (method)¶
-
get_surf
(self, indices=None)[source]¶ Return the surf object if it was already extracted, or extracts it from the mesh.
- Parameters
self (MeshVTK) – a MeshVTK object
indices (list) – list of the points to extract (optional)
- Returns
surf – a pyvista polydata object
- Return type
pyvista.core.pointset.PolyData