|
gstlearn
0.3.3
CCC
|
#include <SpaceRN.hpp>
Public Member Functions | |
| SpaceRN (unsigned int ndim) | |
| SpaceRN (const SpaceRN &r) | |
| SpaceRN & | operator= (const SpaceRN &r) |
| virtual | ~SpaceRN () |
| virtual String | toString (const AStringFormat *strfmt=nullptr) const override |
| ICloneable interface. 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... | |
Public Member Functions inherited from ASpace | |
| 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... | |
| virtual bool | isEqual (const ASpace *space) const |
| Return true if the given space is equal to me. More... | |
| void | _getIncrementInPlaceVect (const SpacePoint &p1, const std::vector< SpacePoint > &pv, VectorVectorDouble &res) const |
Public Member Functions inherited from AStringable | |
| 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 |
Public Member Functions inherited from ICloneable | |
| ICloneable () | |
| virtual | ~ICloneable () |
| virtual ICloneable * | clone () const =0 |
Static Public Member Functions | |
| static SpaceRN * | create (unsigned int ndim) |
Private Member Functions | |
| void | _getIncrementInPlace (const SpacePoint &p1, const SpacePoint &p2, VectorDouble &ptemp) const override |
Additional Inherited Members | |
Protected Attributes inherited from ASpace | |
| 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... | |
| VectorDouble | _work1 |
| VectorDouble | _work2 |
| SpaceRN::SpaceRN | ( | unsigned int | ndim | ) |
| SpaceRN::SpaceRN | ( | const SpaceRN & | r | ) |
|
virtual |
|
overrideprivatevirtual |
Reimplemented from ASpace.
|
static |
|
overridevirtual |
Return the distance between two space points.
Return the distance between two space points in RN Space The distance between
and
is
.
| [in] | p1 | First point |
| [in] | p2 | Second point |
Implements ASpace.
|
overridevirtual |
Return the distance between two space points with the given tensor.
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.
Implements ASpace.
|
inlineoverridevirtual |
Return the concrete space type.
Implements ASpace.
|
overridevirtual |
Move the given space point by the given vector.
Implements ASpace.
|
overridevirtual |
ICloneable interface.
Reimplemented from ASpace.