brainspace.mesh.mesh_creation.to_vertex

brainspace.mesh.mesh_creation.to_vertex(surf)[source]

Convert all cells in PolyData to vertex cells.

Parameters:surf (vtkPolyData or BSPolyData) – Input surface.
Returns:output (BSPolyData) – PolyData with vertex points.