Local cell size on a regular grid; NaN marks unusable cells.
More...
#include <blocks.hpp>
|
| bool | isValid () const |
| | Check the basic grid dimensions, positive pitch and exact h-vector extent.
|
| |
Local cell size on a regular grid; NaN marks unusable cells.
◆ isValid()
| bool meshkit::plan::QuadBlockGrid::isValid |
( |
| ) |
const |
|
inline |
Check the basic grid dimensions, positive pitch and exact h-vector extent.
- Returns
- True when pitch>0, rows/cols>0 and h.size()==std::ptrdiff_t(cols)*rows, false otherwise. Does not check finite pitch/origin, usable sample values or spatial arithmetic representability; infinity can pass the pitch test. Constant read-only query with no allocation or geometry access.
◆ cols
| int meshkit::plan::QuadBlockGrid::cols = 0 |
| Vector<float> meshkit::plan::QuadBlockGrid::h |
◆ origin
| Point2 meshkit::plan::QuadBlockGrid::origin |
Lower-left corner of cell (0, 0).
◆ pitch
| double meshkit::plan::QuadBlockGrid::pitch = 0.0 |
◆ rows
| int meshkit::plan::QuadBlockGrid::rows = 0 |
The documentation for this struct was generated from the following file:
- /home/runner/work/openswmm.gui/openswmm.gui/libraries/meshkit/include/meshkit/blocks.hpp