MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/splashsurf / is_manifold

Method is_manifold

splashsurf_lib/src/mesh.rs:740–742  ·  view source on GitHub ↗

Returns whether the associated mesh is a 2-manifold (no non-manifold edges and no non-manifold vertices)

(&self)

Source from the content-addressed store, hash-verified

738
739 /// Returns whether the associated mesh is a 2-manifold (no non-manifold edges and no non-manifold vertices)
740 pub fn is_manifold(&self) -> bool {
741 self.non_manifold_edges.is_empty() && self.non_manifold_vertices.is_empty()
742 }
743}
744
745impl<R: Real> TriMesh3d<R> {

Callers

nothing calls this directly

Calls 1

is_emptyMethod · 0.80

Tested by

no test coverage detected