Local cell size on a regular grid; NaN marks unusable cells. More...
#include <mesh/quadblocks.h>
Public Member Functions | |
| bool | isValid () const |
| Check the basic grid dimensions, positive pitch and exact h-vector extent. | |
Public Attributes | |
| QPointF | origin |
| Lower-left corner of cell (0, 0). | |
| double | pitch = 0.0 |
| Square cell side in planar mesh units; must be > 0 to be valid. | |
| int | cols = 0 |
| Cells along +x; cell (c, r) is h[r * cols + c]. | |
| int | rows = 0 |
| Cells along +y. | |
| QVector< float > | h |
| Row-major, cols x rows. | |
Local cell size on a regular grid; NaN marks unusable cells.
|
inlinenodiscard |
Check the basic grid dimensions, positive pitch and exact h-vector extent.
| int mesh::QuadBlockGrid::cols = 0 |
Cells along +x; cell (c, r) is h[r * cols + c].
| QVector<float> mesh::QuadBlockGrid::h |
Row-major, cols x rows.
| QPointF mesh::QuadBlockGrid::origin |
Lower-left corner of cell (0, 0).
| double mesh::QuadBlockGrid::pitch = 0.0 |
Square cell side in planar mesh units; must be > 0 to be valid.
| int mesh::QuadBlockGrid::rows = 0 |
Cells along +y.