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

Result of planQuadRegions(). More...

#include <mesh/cellplanner.h>

Collaboration diagram for mesh::QuadPlan:

Public Attributes

bool ok = false
 Planning finished and every required region has a patch.
 
bool cancelled = false
 Cancellation was observed; ok is false.
 
bool resourceLimited = false
 A work, workspace or cell budget stopped the plan or refused a required region.
 
QString error
 English reason when ok is false; empty on success.
 
QVector< PatchMesh > patches
 Delivered patches with CCW quads, required regions first, then in region order.
 
QVector< int > patchRegions
 Zero-based region index of each entry in patches.
 
QVector< PatchDecision > decisions
 One decision per input region, in input order.
 
quint64 sharedSides = 0
 Region sides that matched an already registered identical side path.
 
quint64 workUsed = 0
 Work units consumed.
 
quint64 plannedCells = 0
 Total quads over patches.
 

Detailed Description

Result of planQuadRegions().

On failure patches is empty; decisions are kept.

Member Data Documentation

◆ cancelled

bool mesh::QuadPlan::cancelled = false

Cancellation was observed; ok is false.

◆ decisions

QVector<PatchDecision> mesh::QuadPlan::decisions

One decision per input region, in input order.

◆ error

QString mesh::QuadPlan::error

English reason when ok is false; empty on success.

◆ ok

bool mesh::QuadPlan::ok = false

Planning finished and every required region has a patch.

◆ patches

QVector<PatchMesh> mesh::QuadPlan::patches

Delivered patches with CCW quads, required regions first, then in region order.

◆ patchRegions

QVector<int> mesh::QuadPlan::patchRegions

Zero-based region index of each entry in patches.

◆ plannedCells

quint64 mesh::QuadPlan::plannedCells = 0

Total quads over patches.

◆ resourceLimited

bool mesh::QuadPlan::resourceLimited = false

A work, workspace or cell budget stopped the plan or refused a required region.

◆ sharedSides

quint64 mesh::QuadPlan::sharedSides = 0

Region sides that matched an already registered identical side path.

◆ workUsed

quint64 mesh::QuadPlan::workUsed = 0

Work units consumed.


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