|
DP3
|
The letter class for a 2-D grid with regular or irregular axes. More...
#include <Grid.h>
Public Types | |
| typedef std::shared_ptr< GridRep > | ShPtr |
Public Member Functions | |
| GridRep () | |
| Default constructor uses two default RegularAxis objects. More... | |
| GridRep (Axis::ShPtr first, Axis::ShPtr second) | |
| Create from given axes. More... | |
| GridRep (const std::vector< Box > &domains, bool sort) | |
| GridRep (const std::vector< Grid > &domains, bool sort) | |
| bool | isDefault () const |
| Is it the default grid? More... | |
| Axis::ShPtr & | getAxis (size_t n) |
| const Axis::ShPtr & | getAxis (size_t n) const |
The letter class for a 2-D grid with regular or irregular axes.
| typedef std::shared_ptr<GridRep> dp3::parmdb::GridRep::ShPtr |
| dp3::parmdb::GridRep::GridRep | ( | ) |
Default constructor uses two default RegularAxis objects.
| dp3::parmdb::GridRep::GridRep | ( | Axis::ShPtr | first, |
| Axis::ShPtr | second | ||
| ) |
Create from given axes.
| dp3::parmdb::GridRep::GridRep | ( | const std::vector< Grid > & | domains, |
| bool | sort | ||
| ) |
Create a grid from a series of grids. They have to be in order of startY,startX. They are sorted if needed. The grids in the vector must span a rectangular grid, otherwise an exception is thrown. Its axes can be regular (RegularAxis) or irregular (OrderedAxis). The vector can be empty. In that case a default Grid is created.
| dp3::parmdb::GridRep::GridRep | ( | const std::vector< Box > & | domains, |
| bool | sort | ||
| ) |
Create a grid from a series of domains. They have to be in order of startY,startX. They are sorted if needed. The domains in the vector must span a rectangular grid, otherwise an exception is thrown. Its axes can be regular (RegularAxis) or irregular (OrderedAxis). The vector can be empty. In that case a default Grid is created.
|
inline |
Get the given axis.
|
inline |
|
inline |
Is it the default grid?