14#include <lagrange/SurfaceMesh.h>
36template <
typename Scalar,
typename Index>
53template <
typename Scalar,
typename Index>
69template <
typename Scalar,
typename Index>
82template <
typename Scalar,
typename Index>
108template <
typename Scalar,
typename Index>
A general purpose polygonal mesh class.
Definition: SurfaceMesh.h:66
uint32_t AttributeId
Identified to be used to access an attribute.
Definition: AttributeFwd.h:73
int compute_euler(const SurfaceMesh< Scalar, Index > &mesh)
Compute Euler characteristic of a mesh.
Definition: topology.cpp:35
bool is_manifold(const SurfaceMesh< Scalar, Index > &mesh)
Check if a mesh is both vertex-manifold and edge-manifold.
Definition: topology.h:83
bool is_edge_manifold(const SurfaceMesh< Scalar, Index > &mesh)
Check if a mesh is edge-manifold.
Definition: topology.cpp:111
bool is_vertex_manifold(const SurfaceMesh< Scalar, Index > &mesh)
Check if a mesh is vertex-manifold.
Definition: topology.cpp:84
AttributeId compute_vertex_is_manifold(SurfaceMesh< Scalar, Index > &mesh, const VertexManifoldOptions &options={})
Compute a mesh attribute indicating vertex and edge manifoldness.
Definition: topology.cpp:128
Main namespace for Lagrange.
Definition: AABBIGL.h:30
Option struct for computing manifold flags.
Definition: topology.h:92
std::string_view output_attribute_name
Per-vertex attribute indicating whether a vertex is manifold.
Definition: topology.h:94