#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) |
(Re)Defining the unique default global space More... | |
void | setDefaultSpace (const ASpace *space) |
Defining the default space from another one. 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 | ||
) |
(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) |
const ASpace* getDefaultSpace | ( | ) |
int getDefaultSpaceDimension | ( | ) |
ESpaceType getDefaultSpaceType | ( | ) |
bool isDefaultSpaceSphere | ( | ) |
void setDefaultSpace | ( | const ASpace * | space | ) |
Defining the default space from another one.
Set the unique default global space from another one.
space |
|
static |
Unique default global space.