Wildmeshing Toolkit
Loading...
Searching...
No Matches
Public Attributes | List of all members
wmtk::utils::EmbedTrianglesOptions Struct Reference

Options for embed_triangles_in_tets. All checks are off by default. More...

#include <EmbedTriangles.hpp>

Public Attributes

bool check_collinear_input = false
 Report input triangles that are collinear, before handing them to the remesher.
 
bool check_orientation = false
 
bool check_surface_provenance = false
 
int num_threads = 1
 Threads for the parts that run in parallel (so far the tracked surface's orientation).
 
const std::vector< int > * triangle_input = nullptr
 

Detailed Description

Options for embed_triangles_in_tets. All checks are off by default.

Member Data Documentation

◆ check_orientation

bool wmtk::utils::EmbedTrianglesOptions::check_orientation = false

Check every output tet's orientation in exact arithmetic, after embedding and again after the vertex compaction.

◆ check_surface_provenance

bool wmtk::utils::EmbedTrianglesOptions::check_surface_provenance = false

Report how the provenance-derived "face is on the input surface" answer differs from the remesher's older colour-derived facets_on_input. Diagnostic only – the surface always comes from provenance; this just counts the disagreement.

◆ triangle_input

const std::vector<int>* wmtk::utils::EmbedTrianglesOptions::triangle_input = nullptr

Optional, per input triangle (indexing triangle_indices): the input it belongs to, negative for none. With it the orientation repair keeps to one input – a facet is linked only to facets on the same inputs – so an input facing the other way next to another is not reversed to agree with it. Without it all triangles are one input, as before.


The documentation for this struct was generated from the following file: