1.4.1
CCC
 
ASpaceObject.cpp File Reference
#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 ASpacecloneDefaultSpace ()
 Return a clone of the unique default global space. More...
 
ESpaceType getDefaultSpaceType ()
 
int getDefaultSpaceDimension ()
 
const ASpacegetDefaultSpace ()
 
bool isDefaultSpaceSphere ()
 

Variables

static ASpacedefaultSpace = nullptr
 Unique default global space. More...
 

Function Documentation

◆ cloneDefaultSpace()

const ASpace* cloneDefaultSpace ( )

Return a clone of the unique default global space.

◆ defineDefaultSpace()

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)

Parameters
typeSpace type (RN, SN, ...)
ndimNumber of dimensions
paramOptional space parameter (ex: radius of the sphere)
addtimeOptional add time dimension (composit space)

◆ getDefaultSpace()

const ASpace* getDefaultSpace ( )

◆ getDefaultSpaceDimension()

int getDefaultSpaceDimension ( )

◆ getDefaultSpaceType()

ESpaceType getDefaultSpaceType ( )

◆ isDefaultSpaceSphere()

bool isDefaultSpaceSphere ( )

Variable Documentation

◆ defaultSpace

ASpace* defaultSpace = nullptr
static

Unique default global space.