Loading...
Searching...
No Matches
mesh::QuadCleanupOptions Struct Reference

Policy for cleanupAndSmoothQuads(). More...

#include <mesh/meshquadcleanup.h>

Collaboration diagram for mesh::QuadCleanupOptions:

Public Attributes

QuadQualityBounds bounds
 Quads produced by a doublet merge or diagonal swap must pass these bounds; smoothing uses their scaled-Jacobian floor and aspect cap (see QuadQualityBounds).
 
bool removeDoublets = true
 Merge the two quads around each movable doublet vertex.
 
bool diagonalSwaps = true
 Re-diagonalise quad pairs when it lowers valence error.
 
int smoothingIterations = 10
 Jacobi smoothing sweeps after topology; <= 0 = none.
 
int topologyPasses = 3
 Maximum doublet + swap rounds; stops early when a round changes nothing; <= 0 = none.
 

Detailed Description

Member Data Documentation

◆ bounds

QuadQualityBounds mesh::QuadCleanupOptions::bounds

Quads produced by a doublet merge or diagonal swap must pass these bounds; smoothing uses their scaled-Jacobian floor and aspect cap (see QuadQualityBounds).

◆ diagonalSwaps

bool mesh::QuadCleanupOptions::diagonalSwaps = true

Re-diagonalise quad pairs when it lowers valence error.

◆ removeDoublets

bool mesh::QuadCleanupOptions::removeDoublets = true

Merge the two quads around each movable doublet vertex.

◆ smoothingIterations

int mesh::QuadCleanupOptions::smoothingIterations = 10

Jacobi smoothing sweeps after topology; <= 0 = none.

◆ topologyPasses

int mesh::QuadCleanupOptions::topologyPasses = 3

Maximum doublet + swap rounds; stops early when a round changes nothing; <= 0 = none.


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