SurfaceMesh
#
- class ansys.health.heart.objects.SurfaceMesh(var_inp: pyvista.PolyData | numpy.ndarray | list | str | pathlib.Path = None, name: str = None, triangles: numpy.ndarray = None, nodes: numpy.ndarray = None, id: int = None, **kwargs)#
Bases:
pyvista.PolyData
Surface class.
Overview#
Force the cell ordering of the closed surface such that normals point inward. |
Node coordinates. |
|
Triangular faces of the surface |
|
Global triangle IDs. |
|
Boundary edges of self. |
|
Global point IDs of boundary edges. |
|
Local node IDs sorted by earliest occurrence. |
|
Global node IDs from point data. |
Import detail#
from ansys.health.heart.objects import SurfaceMesh
Property detail#
- property SurfaceMesh.nodes#
Node coordinates.
- property SurfaceMesh.triangles#
Triangular faces of the surface
num_faces
x 3.
- property SurfaceMesh.triangles_global#
Global triangle IDs.
- Returns:
Tries
to
use
point_data["_global-point-ids"]
to
retrieve
triangle
definitions
in
global
IDs.
- property SurfaceMesh.boundary_edges#
Boundary edges of self.
- property SurfaceMesh.boundary_edges_global#
Global point IDs of boundary edges.
- property SurfaceMesh.node_ids_triangles: numpy.ndarray#
Local node IDs sorted by earliest occurrence.
- property SurfaceMesh.global_node_ids_triangles#
Global node IDs from point data.
Attribute detail#
- SurfaceMesh.name = None#
Name of the surface.
Method detail#
- SurfaceMesh.force_normals_inwards()#
Force the cell ordering of the closed surface such that normals point inward.