Easy3D 2.5.3
|
Compute various topological characteristics of a surface mesh component. More...
#include <easy3d/algo/surface_mesh_topology.h>
Public Member Functions | |
SurfaceMeshTopology (const SurfaceMeshComponent *comp) | |
int | euler_poincare () const |
returns the Euler-Poincare characteristic, 1: a disc 2: a sphere | |
std::size_t | number_of_borders () const |
returns 0 for a closed surface. | |
std::size_t | largest_border_size () const |
returns the number of edges in the largest border. | |
bool | is_closed () const |
returns if the surface is closed. | |
bool | is_sphere () const |
returns if the surface is topologically equivalent to a sphere. | |
bool | is_disc () const |
returns if the surface is topologically equivalent to a disk. | |
bool | is_cylinder () const |
returns if the surface is topologically equivalent to a cylinder. | |
bool | is_torus () const |
returns if the surface is topologically equivalent to a torus. | |
Compute various topological characteristics of a surface mesh component.