gstlearn
0.2.1
Geostatistics & Machine Learning toolbox
|
#include <SpaceSN.hpp>
Public Member Functions | |
SpaceSN (unsigned int ndim, double radius) | |
SpaceSN (const SpaceSN &r) | |
SpaceSN & | operator= (const SpaceSN &r) |
virtual | ~SpaceSN () |
virtual String | toString (const AStringFormat *strfmt=nullptr) const override |
ICloneable interface. More... | |
virtual bool | isEqual (const ASpace *space) const override |
Return true if the given space is equal to me. More... | |
ESpaceType | getType () const override |
Return the concrete space type. More... | |
void | move (SpacePoint &p1, const VectorDouble &vec) const override |
Move the given space point by the given vector. More... | |
double | getDistance (const SpacePoint &p1, const SpacePoint &p2) const override |
Return the distance between two space points. More... | |
double | getDistance (const SpacePoint &p1, const SpacePoint &p2, const Tensor &tensor) const override |
Return the distance between two space points with the given tensor. More... | |
double | getFrequentialDistance (const SpacePoint &p1, const SpacePoint &p2, const Tensor &tensor) const override |
Return the distance in frequential domain between two space points with the given tensor. More... | |
VectorDouble | getIncrement (const SpacePoint &p1, const SpacePoint &p2) const override |
Return the increment vector between two space points for the current space context. More... | |
double | getRadius () const |
![]() | |
ASpace (unsigned int ndim) | |
ASpace (const ASpace &r) | |
ASpace & | operator= (const ASpace &r) |
virtual | ~ASpace () |
void | setOrigin (const VectorDouble &origin) |
Update the origin coordinates. More... | |
unsigned int | getNDim () const |
Get the number of dimensions. More... | |
const VectorDouble & | getOrigin () const |
Return the space origin coordinates. More... | |
![]() | |
AStringable () | |
AStringable (const AStringable &r) | |
AStringable & | operator= (const AStringable &r) |
virtual | ~AStringable () |
virtual void | display (const AStringFormat *strfmt=nullptr) const final |
virtual void | display (int level) const final |
![]() | |
ICloneable () | |
virtual | ~ICloneable () |
virtual ICloneable * | clone () const =0 |
Private Attributes | |
double | _radius |
Sphere radius. More... | |
Additional Inherited Members | |
![]() | |
unsigned int | _nDim |
Number of space dimensions. More... | |
VectorDouble | _origin |
Coordinates of the origin (not a space point... ex: sphere center in a long/lat space) More... | |
SpaceSN::SpaceSN | ( | unsigned int | ndim, |
double | radius | ||
) |
SpaceSN::SpaceSN | ( | const SpaceSN & | r | ) |
|
virtual |
|
overridevirtual |
Return the distance between two space points.
Implements ASpace.
|
overridevirtual |
Return the distance between two space points with the given tensor.
TODO : SpaceSN::getDistance
Implements ASpace.
|
overridevirtual |
Return the distance in frequential domain between two space points with the given tensor.
Implements ASpace.
|
overridevirtual |
Return the increment vector between two space points for the current space context.
TODO : SpaceSN::getIncrement
Implements ASpace.
|
inline |
|
inlineoverridevirtual |
Return the concrete space type.
Implements ASpace.
|
overridevirtual |
Return true if the given space is equal to me.
Reimplemented from ASpace.
|
overridevirtual |
|
overridevirtual |
ICloneable interface.
Reimplemented from ASpace.
|
private |
Sphere radius.