Per-region record of what was decided about a mapped patch and why. More...
#include <meshkit/planning.hpp>
Public Attributes | |
| Text | source |
| Region label. | |
| Text | reason |
| Explanation of the latest refusal, repair or acceptance; may be empty when planning stopped before the region was decided. | |
| int | region = -1 |
| 0-based index of the source region; -1 when unassigned. | |
| bool | required = false |
| True for a hard requirement (QuadRegion::requireMapped or directionalSpacing), whose failure refuses the whole plan. | |
| PatchDisposition | disposition = PatchDisposition::Triangles |
| Outcome; Triangles by default. | |
| std::uint64_t | cells = 0 |
| Cells (n x m) in the region's patch. | |
| int | repairRounds = 0 |
| Repair rounds or retries recorded. | |
Per-region record of what was decided about a mapped patch and why.
| std::uint64_t meshkit::plan::PatchDecision::cells = 0 |
Cells (n x m) in the region's patch.
Set when a planning round accepts the patch, so read it only for Accepted or Repaired outcomes.
| PatchDisposition meshkit::plan::PatchDecision::disposition = PatchDisposition::Triangles |
Outcome; Triangles by default.
| Text meshkit::plan::PatchDecision::reason |
Explanation of the latest refusal, repair or acceptance; may be empty when planning stopped before the region was decided.
| int meshkit::plan::PatchDecision::region = -1 |
0-based index of the source region; -1 when unassigned.
| int meshkit::plan::PatchDecision::repairRounds = 0 |
Repair rounds or retries recorded.
planQuadRegions() sets it only for a delivered patch, where nonzero means Repaired.
| bool meshkit::plan::PatchDecision::required = false |
True for a hard requirement (QuadRegion::requireMapped or directionalSpacing), whose failure refuses the whole plan.
| Text meshkit::plan::PatchDecision::source |
Region label.
planQuadRegions() uses QuadRegion::tag, or "region:" followed by the 0-based region index when the tag is empty.