#include "geoslib_define.h"
#include "Space/ASpaceObject.hpp"
#include "Space/ASpace.hpp"
#include "Space/SpaceRN.hpp"
#include "Space/SpaceSN.hpp"
#include "Basic/AException.hpp"
Functions | |
void | defineDefaultSpace (const ESpaceType &type, unsigned int ndim, double param, bool addtime) |
(Re)Defining the unique default global space More... | |
const ASpace * | cloneDefaultSpace () |
Return a clone of the unique default global space. More... | |
ESpaceType | getDefaultSpaceType () |
int | getDefaultSpaceDimension () |
const ASpace * | getDefaultSpace () |
bool | isDefaultSpaceSphere () |
Variables | |
static ASpace * | defaultSpace = nullptr |
Unique default global space. More... | |
const ASpace* cloneDefaultSpace | ( | ) |
Return a clone of the unique default global space.
void defineDefaultSpace | ( | const ESpaceType & | type, |
unsigned int | ndim, | ||
double | param, | ||
bool | addtime | ||
) |
(Re)Defining the unique default global space
Factory for defining the unique default global space (optional parameter can be used for sphere radius for example)
type | Space type (RN, SN, ...) |
ndim | Number of dimensions |
param | Optional space parameter (ex: radius of the sphere) |
addtime | Optional add time dimension (composit space) |
const ASpace* getDefaultSpace | ( | ) |
int getDefaultSpaceDimension | ( | ) |
ESpaceType getDefaultSpaceType | ( | ) |
bool isDefaultSpaceSphere | ( | ) |
|
static |
Unique default global space.