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 the meshio_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.

to_meshio_mesh()

Return a meshio.Mesh version of this surface.

Attributes

num_faces

An int indicating the number of faces in this polyhedral surface.

num_vertices

An int indicating the number of vertices in this polyhedral surface.