Constructs a grid specification object with all specifications set to the values indicated by the supplied parameters.
- Parameters:
-
gridType | A value defined by the MgCoordinateSystemGridSpecializationType object which indicates the Type of specialized grid desired. |
gridLevel | A value which indicates the density of the grid desired. The exact value of this parameter is dependent upon the value of the gridType argument. See Remarks below. |
- Returns:
- Returns a fully initialized grid specification structure.
- Exceptions:
-
std::bad_alloc | Thrown in the event of a heap memory allocation failure. |