Lagrange
Loading...
Searching...
No Matches
ResolveTJunctionsOptions Struct Reference

Option settings for resolve_tjunctions. More...

#include <lagrange/bvh/resolve_tjunctions.h>

Public Attributes

double tolerance = -1
 Absolute distance tolerance used to detect T-junctions.
 
bool boundary_only = true
 If true, only boundary edges (edges adjacent to a single facet) are checked for T-junctions.
 
bool triangulate_affected = true
 If true (default), triangulate the facets affected by edge splitting, so a triangle-mesh input yields a triangle-mesh output.
 

Detailed Description

Option settings for resolve_tjunctions.

Member Data Documentation

◆ tolerance

double tolerance = -1

Absolute distance tolerance used to detect T-junctions.

A vertex whose distance to a non-incident edge is within this tolerance, and whose projection lies strictly between the edge endpoints, is treated as lying on that edge. If negative, the tolerance defaults to 1e-6 times the bounding box diagonal of the mesh.

◆ boundary_only

bool boundary_only = true

If true, only boundary edges (edges adjacent to a single facet) are checked for T-junctions.

Set to false to also resolve T-junctions on interior edges.

◆ triangulate_affected

bool triangulate_affected = true

If true (default), triangulate the facets affected by edge splitting, so a triangle-mesh input yields a triangle-mesh output.

If false, leave those facets as polygons.


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