BRL-CAD
Loading...
Searching...
No Matches
bg_trimesh_repair_opts Struct Reference

#include <trimesh.h>

Data Fields

fastf_t max_hole_area
 
fastf_t max_hole_area_percent
 

Detailed Description

Options governing triangle mesh repair operations.

Repair attempts to produce a closed, consistently-oriented, manifold mesh from a defective input by colocating near-duplicate vertices, removing degenerate / duplicate faces, and filling boundary holes up to the caller-specified size limit.

Definition at line 469 of file trimesh.h.

Field Documentation

◆ max_hole_area

fastf_t max_hole_area

Largest hole area (mm^2) eligible for filling; 0 = use percentage

Definition at line 470 of file trimesh.h.

◆ max_hole_area_percent

fastf_t max_hole_area_percent

Largest hole area as percentage of total mesh area; ignored when max_hole_area > 0

Definition at line 471 of file trimesh.h.


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