Loading...
Searching...
No Matches
blocks.hpp File Reference

Automatic open-area quad blocks (workplans/MESH_REGIONAL_TRIQUAD_PLAN_2026-10-03.md, phases 2-3). More...

#include "meshkit/regions.hpp"
#include "meshkit/detail/planmodel.hpp"
#include <functional>
Include dependency graph for blocks.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  meshkit::plan::QuadBlockGrid
 Local cell size on a regular grid; NaN marks unusable cells. More...
 
struct  meshkit::plan::QuadBlockOptions
 Policy for placeQuadBlocks(). More...
 

Namespaces

namespace  meshkit
 The Qt-free MeshKit library: job events and progress (meshkit::runtime), the neutral mesh model, meshing jobs, the constrained Delaunay kernel and terrain surfaces (meshkit::core), and the MKB and SMS 2DM codecs (meshkit::io).
 
namespace  meshkit::plan
 Planning algorithms on standard containers: quad patch planning and placement, size fields, source-geometry simplification and the independent constraint and sizing audits.
 

Functions

QuadBlockGrid meshkit::plan::quadBlockGridFromMesh (const MeshResult &mesh, double pitch, const Vector< Vector< Point2 > > &blockers)
 Estimate local equilateral side lengths from triangles and mask existing quads/features.
 
QuadBlockGrid meshkit::plan::quadBlockGridFromField (const Box2 &, double pitch, const std::function< double(const Box2 &)> &maximumSize, const Vector< Vector< Point2 > > &blockers, const std::function< bool()> &cancelled={}, std::int64_t maximumCells=1000000)
 Sample a footprint size callback onto a candidate block grid and mask blockers.
 
Vector< QuadRegion > meshkit::plan::placeQuadBlocks (const QuadBlockGrid &grid, const QuadBlockOptions &options)
 Greedily select axis-aligned mapped quad regions from approximately uniform usable grid bands.
 

Detailed Description

Automatic open-area quad blocks (workplans/MESH_REGIONAL_TRIQUAD_PLAN_2026-10-03.md, phases 2-3).

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License
Apache-2.0

Automatic open-area quad blocks (workplans/MESH_REGIONAL_TRIQUAD_PLAN_2026-10-03.md, phases 2-3). Rectangles are placed where the cells a first triangle pass produced are nearly uniform and no feature runs, then embedded as mapped quad regions in a second pass; the generator's conforming patch seams make the triangle-to-quad joins exact.