Bounding-volume hierarchy over quad-region bounding boxes that answers the smallest region spacing touching a footprint.
More...
#include </home/runner/work/Meshkit/Meshkit/src/native/regionlimits.hpp>
|
| | RegionLimits (const std::vector< plan::QuadRegion > ®ions, Work &work) |
| | Index every region that has a positive spacing and a non-empty ring.
|
| |
| double | minimum (const Box2 &bounds, Work &work) const |
| | Smallest spacing among indexed regions whose box meets a footprint.
|
| |
Bounding-volume hierarchy over quad-region bounding boxes that answers the smallest region spacing touching a footprint.
Owns copies of the boxes and spacings; keeps no reference to its inputs.
◆ RegionLimits()
| meshkit::native_detail::RegionLimits::RegionLimits |
( |
const std::vector< plan::QuadRegion > & | regions, |
|
|
Work & | work ) |
|
inline |
Index every region that has a positive spacing and a non-empty ring.
- Parameters
-
| [in] | regions | Borrowed regions; each ring's bounding box is stored with its spacing. |
| [in,out] | work | Budget charged while building. |
- Exceptions
-
| Stop | region_size (status Infeasible) for a nonfinite or negative spacing, or from work. |
◆ minimum()
| double meshkit::native_detail::RegionLimits::minimum |
( |
const Box2 & | bounds, |
|
|
Work & | work ) const |
|
inline |
Smallest spacing among indexed regions whose box meets a footprint.
- Parameters
-
| [in] | bounds | Footprint box in XY units; touching counts (see meets()). |
| [in,out] | work | Budget charged per visited node. |
- Returns
- Spacing in XY units, or 0 when no indexed region box meets bounds.
- Exceptions
-
The documentation for this class was generated from the following file: