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

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

#include "meshkit/blocks.hpp"
#include "meshkit/cdt.hpp"
#include <algorithm>
#include <cmath>
#include <limits>
Include dependency graph for blocks.cpp:

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