1.5.1
CCC
 
ASpaceObject.hpp File Reference
#include "gstlearn_export.hpp"
#include "Enum/ESpaceType.hpp"
#include "Basic/AStringable.hpp"
#include "Basic/VectorNumT.hpp"

Classes

class  ASpaceObject
 

Functions

GSTLEARN_EXPORT void defineDefaultSpace (const ESpaceType &type, unsigned int ndim=2, double param=0.)
 (Re)Defining the unique default global space More...
 
GSTLEARN_EXPORT void setDefaultSpace (const ASpace *space)
 Set the unique default global space from another one. More...
 
GSTLEARN_EXPORT const ASpacecloneDefaultSpace ()
 Return a clone of the unique default global space. More...
 
GSTLEARN_EXPORT ESpaceType getDefaultSpaceType ()
 
GSTLEARN_EXPORT int getDefaultSpaceDimension ()
 
GSTLEARN_EXPORT const ASpacegetDefaultSpace ()
 
GSTLEARN_EXPORT bool isDefaultSpaceSphere ()
 

Function Documentation

◆ cloneDefaultSpace()

GSTLEARN_EXPORT const ASpace* cloneDefaultSpace ( )

Return a clone of the unique default global space.

◆ defineDefaultSpace()

GSTLEARN_EXPORT 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)

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

◆ getDefaultSpace()

GSTLEARN_EXPORT const ASpace* getDefaultSpace ( )

◆ getDefaultSpaceDimension()

GSTLEARN_EXPORT int getDefaultSpaceDimension ( )

◆ getDefaultSpaceType()

GSTLEARN_EXPORT ESpaceType getDefaultSpaceType ( )

◆ isDefaultSpaceSphere()

GSTLEARN_EXPORT bool isDefaultSpaceSphere ( )

◆ setDefaultSpace()

GSTLEARN_EXPORT void setDefaultSpace ( const ASpace space)

Set the unique default global space from another one.

Set the unique default global space from another one.

Parameters
space