Local cell size on a regular grid; NaN marks unusable cells. More...
#include <meshkit/blocks.hpp>
Public Member Functions | |
| bool | isValid () const |
| Check the basic grid dimensions, positive pitch and exact h-vector extent. | |
Public Attributes | |
| Point2 | origin |
| Lower-left corner of cell (0, 0). | |
| double | pitch = 0.0 |
| Square cell side in planar (XY) units; 0 = no grid. | |
| int | cols = 0 |
| Column count; cell (c, r) covers origin.x() + [c, c + 1] * pitch along X. | |
| int | rows = 0 |
| Row count; cell (c, r) covers origin.y() + [r, r + 1] * pitch along Y. | |
| Vector< 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 meshkit::plan::QuadBlockGrid::cols = 0 |
Column count; cell (c, r) covers origin.x() + [c, c + 1] * pitch along X.
| Vector<float> meshkit::plan::QuadBlockGrid::h |
Row-major, cols x rows.
| Point2 meshkit::plan::QuadBlockGrid::origin |
Lower-left corner of cell (0, 0).
| double meshkit::plan::QuadBlockGrid::pitch = 0.0 |
Square cell side in planar (XY) units; 0 = no grid.
| int meshkit::plan::QuadBlockGrid::rows = 0 |
Row count; cell (c, r) covers origin.y() + [r, r + 1] * pitch along Y.