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

Settings and budgets for planQuadRegions(). More...

#include <mesh/cellplanner.h>

Collaboration diagram for mesh::QuadPlanningOptions:

Public Attributes

bool allowQuads = true
 False refuses all regions: global triangles-only priority.
 
double defaultSize = 1
 Spacing for regions without a positive QuadRegion::spacing; finite and positive.
 
PatchLimits limits
 Limits for every candidate patch; a region's aspectMax, isotropic spacing and directional spacing override them per region.
 
int maximumRepairRounds = 3
 Rounds that double station counts after repairable failures; valid range [0, 3].
 
quint64 maximumCells = 20000000
 Cell budget over all planned patches; also bounds side subdivision counts.
 
quint64 maximumPatchCells = 250000
 Cell limit for a single patch.
 
quint64 maximumWorkspaceBytes = quint64(2) << 30
 Estimated limit for the source index, stations and planned cells (2 GiB by default); not a bound on total process memory.
 
quint64 workBudget = 0
 Work-unit limit; 0 selects 512 per maximumCells plus 100,000.
 
std::function< bool(const QPolygonF &)> excluded
 Optional veto given a candidate's ordered patch boundary; returning true refuses it.
 

Detailed Description

Settings and budgets for planQuadRegions().

Member Data Documentation

◆ allowQuads

bool mesh::QuadPlanningOptions::allowQuads = true

False refuses all regions: global triangles-only priority.

◆ defaultSize

double mesh::QuadPlanningOptions::defaultSize = 1

Spacing for regions without a positive QuadRegion::spacing; finite and positive.

◆ excluded

std::function<bool(const QPolygonF &)> mesh::QuadPlanningOptions::excluded

Optional veto given a candidate's ordered patch boundary; returning true refuses it.

◆ limits

PatchLimits mesh::QuadPlanningOptions::limits

Limits for every candidate patch; a region's aspectMax, isotropic spacing and directional spacing override them per region.

Its callback is the cancellation poll.

◆ maximumCells

quint64 mesh::QuadPlanningOptions::maximumCells = 20000000

Cell budget over all planned patches; also bounds side subdivision counts.

◆ maximumPatchCells

quint64 mesh::QuadPlanningOptions::maximumPatchCells = 250000

Cell limit for a single patch.

◆ maximumRepairRounds

int mesh::QuadPlanningOptions::maximumRepairRounds = 3

Rounds that double station counts after repairable failures; valid range [0, 3].

◆ maximumWorkspaceBytes

quint64 mesh::QuadPlanningOptions::maximumWorkspaceBytes = quint64(2) << 30

Estimated limit for the source index, stations and planned cells (2 GiB by default); not a bound on total process memory.

◆ workBudget

quint64 mesh::QuadPlanningOptions::workBudget = 0

Work-unit limit; 0 selects 512 per maximumCells plus 100,000.


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