|
| RegularGrid (const Point< Scalar, N > &min, const Point< Scalar, N > &max, const Point< uint, N > &size) |
|
| RegularGrid (const Box< Point< Scalar, N > > &bbox, const Point< uint, N > &size) |
|
Point< Scalar, N > | min () const |
|
Point< Scalar, N > | max () const |
|
Scalar | length (uint d) const |
| Returns the edge legth of the bounding box of the grid in the d-th dimension.
|
|
Point< Scalar, N > | lengths () const |
| Returns the edge legths of the bounding box of the grid.
|
|
uint | cellNumber (uint d) const |
| Returns the number of cells of the Grid in the d-th dimension.
|
|
Point< uint, N > | cellNumbers () const |
| Returns the number of cells for each dimension of the grid.
|
|
uint | indexOfCell (const CellCoord &c) const |
| Return an unique index that can be associated to the given cell coordinate.
|
|
CellCoord | cellOfIndex (uint index) const |
| Returns the cell coordinate associated to the given unique index.
|
|
Scalar | cellLength (uint d) const |
| Returns the length of a cell of the grid in the d-th dimension.
|
|
Point< Scalar, N > | cellLengths () const |
| Returns the lengths of a cell of the grid for each dimension.
|
|
Scalar | cellDiagonal () const |
|
uint | cell (uint d, const Scalar &s) const |
|
CellCoord | cell (const Point< Scalar, N > &p) const |
|
Point< Scalar, N > | cellLowerCorner (const CellCoord &c) const |
|
BBoxType | cellBox (const CellCoord &c) const |
|
CellIterator | cellBegin () const |
|
CellIterator | cellBegin (const CellCoord &first, const CellCoord &last) const |
|
CellIterator | cellEnd () const |
|
CellView | cells () const |
|
CellView | cells (const CellCoord &first, const CellCoord &last) const |
|
◆ cellLength()
Returns the length of a cell of the grid in the d-th dimension.
- Parameters
-
- Returns
◆ cellLengths()
Returns the lengths of a cell of the grid for each dimension.
- Returns
◆ cellNumber()
Returns the number of cells of the Grid in the d-th dimension.
- Parameters
-
- Returns
◆ cellNumbers()
Returns the number of cells for each dimension of the grid.
- Returns
◆ cellOfIndex()
Returns the cell coordinate associated to the given unique index.
- Parameters
-
- Returns
◆ indexOfCell()
Return an unique index that can be associated to the given cell coordinate.
- Parameters
-
- Returns
◆ length()
Returns the edge legth of the bounding box of the grid in the d-th dimension.
- Returns
◆ lengths()
Returns the edge legths of the bounding box of the grid.
- Returns
The documentation for this class was generated from the following file: