surface_poly_fit.core.PolyhedralSurface¶
- class surface_poly_fit.core.PolyhedralSurface[source]¶
Bases:
PolyhedralSurface
A mesh consisting of polygonal faces.
Methods
__init__
(*args, **kwargs)Overloaded function.
create_ring_patch
(vertex_index, num_rings)Creates a polyhedral surface patch about a specified vertex.
from_meshio_mesh
(meshio_mesh)Return a
PolyhedralSurface
version of themeshio_mesh
mesh.get_face_normals
(self)Returns the face normals of this polyhedral surface.
get_faces
(self)Returns the faces of this polyhedral surface.
get_vertex_normals
(self)Returns the vertex normals of this polyhedral surface.
get_vertices
(self)Returns the vertex coordinates of this polyhedral surface.
set_vertex_normals
(self, normals)Sets vertex normals.
Return a
meshio.Mesh
version of this surface.Attributes
An
int
indicating the number of faces in this polyhedral surface.An
int
indicating the number of vertices in this polyhedral surface.