|
Lagrange
|
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. | |
Option settings for resolve_tjunctions.
| 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.
| 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.
| 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.