Local cell size on a regular grid; NaN marks unusable cells.
More...
#include <quadblocks.h>
|
| bool | isValid () const |
| | Check the basic grid dimensions, positive pitch and exact h-vector extent.
|
| |
|
| QPointF | origin |
| | Lower-left corner of cell (0, 0).
|
| |
| double | pitch = 0.0 |
| |
| int | cols = 0 |
| |
| int | rows = 0 |
| |
| QVector< float > | h |
| | Row-major, cols x rows.
|
| |
Local cell size on a regular grid; NaN marks unusable cells.
◆ isValid()
| bool mesh::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()==qsizetype(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 mesh::QuadBlockGrid::cols = 0 |
| QVector<float> mesh::QuadBlockGrid::h |
◆ origin
| QPointF mesh::QuadBlockGrid::origin |
Lower-left corner of cell (0, 0).
◆ pitch
| double mesh::QuadBlockGrid::pitch = 0.0 |
◆ rows
| int mesh::QuadBlockGrid::rows = 0 |
The documentation for this struct was generated from the following file:
- /home/runner/work/openswmm.gui/openswmm.gui/libraries/meshkit/include/mesh/quadblocks.h