def area(self):
        """
        Mesh surface area

        Returns
        -------
        area : float
            Total area of the mesh.

        """
        mprop = vtk.vtkMassProperties()
        mprop.SetInputData(self)
        return mprop.GetSurfaceArea()
def area ( self ) : mprop = vtk . vtkMassProperties ( ) mprop . SetInputData ( self ) return mprop . GetSurfaceArea ( )
Mesh surface area

        Returns
        -------
        area : float
            Total area of the mesh.