Result of planQuadRegions(); patches are delivered only when ok is true. More...
#include <meshkit/planning.hpp>
Public Attributes | |
| bool | ok = false |
| True when planning completed, even if every region fell back to triangles. | |
| bool | cancelled = false |
| True when PatchLimits::cancelled stopped planning. | |
| bool | resourceLimited = false |
| True when a work, workspace, cell or station budget stopped planning, including a required region refused for a resource reason. | |
| Text | error |
| Why ok is false; empty on success. | |
| Vector< PatchMesh > | patches |
| Delivered patches with CCW cells, required regions first and then by region index; empty unless ok. | |
| Vector< int > | patchRegions |
| Region index of each entry of patches (parallel array). | |
| Vector< PatchDecision > | decisions |
| One decision per input region, indexed by region; kept, possibly incomplete, when ok is false. | |
| std::uint64_t | sharedSides = 0 |
| Region sides found identical (same coordinates, either direction) to a side of an earlier region. | |
| std::uint64_t | workUsed = 0 |
| Work units consumed; compare QuadPlanningOptions::workBudget. | |
| std::uint64_t | plannedCells = 0 |
| Total cells in patches; 0 unless ok. | |
Result of planQuadRegions(); patches are delivered only when ok is true.
| bool meshkit::plan::QuadPlan::cancelled = false |
True when PatchLimits::cancelled stopped planning.
| Vector<PatchDecision> meshkit::plan::QuadPlan::decisions |
One decision per input region, indexed by region; kept, possibly incomplete, when ok is false.
| bool meshkit::plan::QuadPlan::ok = false |
True when planning completed, even if every region fell back to triangles.
Delivered patches with CCW cells, required regions first and then by region index; empty unless ok.
| Vector<int> meshkit::plan::QuadPlan::patchRegions |
Region index of each entry of patches (parallel array).
| bool meshkit::plan::QuadPlan::resourceLimited = false |
True when a work, workspace, cell or station budget stopped planning, including a required region refused for a resource reason.
| std::uint64_t meshkit::plan::QuadPlan::sharedSides = 0 |
Region sides found identical (same coordinates, either direction) to a side of an earlier region.
Counted before acceptance, so refused candidates are included.
| std::uint64_t meshkit::plan::QuadPlan::workUsed = 0 |
Work units consumed; compare QuadPlanningOptions::workBudget.