1.5.0
CCC
 
VCloud Class Reference

Class containing the Variogram Cloud which uses an DbGrid provided by the user This function simply calculate and add the results as new field in this DbGrid. More...

#include <VCloud.hpp>

Inheritance diagram for VCloud:
AVario AStringable ICloneable

Detailed Description

Class containing the Variogram Cloud which uses an DbGrid provided by the user This function simply calculate and add the results as new field in this DbGrid.

Public Member Functions

 VCloud (DbGrid *dbcloud, const VarioParam *varioparam)
 
 VCloud (const VCloud &r)
 
VCloudoperator= (const VCloud &r)
 
virtual ~VCloud ()
 
virtual String toString (const AStringFormat *strfmt=nullptr) const override
 AStringable Interface. More...
 
double _getIVAR (const Db *db, int iech, int ivar) const override
 AVCloud Interface. More...
 
void _setResult (int iech1, int iech2, int nvar, int ipas, int ivar, int jvar, int orient, double ww, double dist, double value) override
 
int compute (Db *db, const NamingConvention &namconv=NamingConvention("Cloud"))
 
int selectFromPolygon (Db *db, Polygons *polygon, int idir=0)
 
- Public Member Functions inherited from AVario
 AVario ()
 
 AVario (const AVario &r)
 
AVariooperator= (const AVario &r)
 
virtual ~AVario ()
 
const ECalcVario & getCalcul () const
 
void setCalcul (const ECalcVario &calcul)
 
void setCalculByName (const String &calcul_name)
 
- Public Member Functions inherited from AStringable
 AStringable ()
 
 AStringable (const AStringable &r)
 
AStringableoperator= (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 ICloneableclone () const =0
 

Public Attributes

 DECLARE_TOTL
 ICloneable interface. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from AVario
static ECalcVario getCalculType (const String &calcul_name)
 

Constructor & Destructor Documentation

◆ VCloud() [1/2]

VCloud::VCloud ( DbGrid dbcloud,
const VarioParam varioparam 
)

◆ VCloud() [2/2]

VCloud::VCloud ( const VCloud r)

◆ ~VCloud()

VCloud::~VCloud ( )
virtual

Member Function Documentation

◆ _getIVAR()

double VCloud::_getIVAR ( const Db db,
int  iech,
int  ivar 
) const
overridevirtual

AVCloud Interface.

Implements AVario.

◆ _setResult()

void VCloud::_setResult ( int  iech1,
int  iech2,
int  nvar,
int  ipas,
int  ivar,
int  jvar,
int  orient,
double  ww,
double  dist,
double  value 
)
overridevirtual

Internal function for setting a VCloud value

Parameters
[in]iech1Rank of the first sample
[in]iech2Rank of the second sample
[in]nvarNumber of variables
[in]ipasRank of the variogram lag
[in]ivarIndex of the first variable
[in]jvarIndex of the second variable
[in]orientOrientation
[in]wwWeight
[in]distDistance
[in]valueVariogram value

Implements AVario.

◆ compute()

int VCloud::compute ( Db db,
const NamingConvention namconv = NamingConvention("Cloud") 
)

Evaluate the experimental variogram cloud on irregular data This method creates one variable per direction of 'dirparam'

Returns
Error return code
Parameters
[in]dbDb descriptor
[in]namconvNaming convention

◆ operator=()

VCloud & VCloud::operator= ( const VCloud r)

◆ selectFromPolygon()

int VCloud::selectFromPolygon ( Db db,
Polygons polygon,
int  idir = 0 
)

Check the samples which are involved in the pairs which are located within the polygon

Parameters
[in]dbDb descriptor
[in]polygonPolygons structure
[in]idirRank of the direction of itnerest

◆ toString()

String VCloud::toString ( const AStringFormat strfmt = nullptr) const
overridevirtual

AStringable Interface.

Reimplemented from AStringable.

Member Data Documentation

◆ DECLARE_TOTL

VCloud::DECLARE_TOTL

ICloneable interface.

Has a specific implementation in the Target language


The documentation for this class was generated from the following files: