1.3.2
CCC
 
Calculating Spatial characteristics on the Db

Functions

VectorDouble Db::getExtrema (int idim, bool useSel=false) const
 
VectorVectorDouble Db::getExtremas (bool useSel=false) const
 
VectorDouble Db::getCoorMinimum (bool useSel=false) const
 
VectorDouble Db::getCoorMaximum (bool useSel=false) const
 
double Db::getExtension (int idim, bool useSel=false) const
 
double Db::getExtensionDiagonal (bool useSel=false) const
 
double Db::getCenter (int idim, bool useSel=false) const
 
VectorDouble Db::getCenters (bool useSel=false) const
 
void Db::getExtensionInPlace (VectorDouble &mini, VectorDouble &maxi, bool useSel=false)
 

Detailed Description

Parameters
idimRank of the target space dimension (0 based)
useSelWhen TRUE, the characteristics are derived from the only active samples
miniVector of minimum values (modified by this function)
maxiVector of maximum values (modified by this function)

Function Documentation

◆ getCenter()

double Db::getCenter ( int  idim,
bool  useSel = false 
) const

Returns the center of the (active) samples for the target space dimension

◆ getCenters()

VectorDouble Db::getCenters ( bool  useSel = false) const

Returns the coordinates of the center of the (active) samples

◆ getCoorMaximum()

VectorDouble Db::getCoorMaximum ( bool  useSel = false) const

Returns the maximum coordinates for all space dimensions

◆ getCoorMinimum()

VectorDouble Db::getCoorMinimum ( bool  useSel = false) const

Returns the minimum coordinates for all space dimensions

◆ getExtension()

double Db::getExtension ( int  idim,
bool  useSel = false 
) const

Returns the extension (distance between minimum and maximum) for the target space dimension

◆ getExtensionDiagonal()

double Db::getExtensionDiagonal ( bool  useSel = false) const

Returns the diagonal of the rectangle containing all (active) samples and parallel to main axes

◆ getExtensionInPlace()

void Db::getExtensionInPlace ( VectorDouble mini,
VectorDouble maxi,
bool  useSel = false 
)

Returns the extensions (distance between minimum and maximum) for all space dimensions

◆ getExtrema()

VectorDouble Db::getExtrema ( int  idim,
bool  useSel = false 
) const

Returns the extreme coordinates for the target space dimension

◆ getExtremas()

VectorVectorDouble Db::getExtremas ( bool  useSel = false) const

Returns the extreme coordinates for all space dimensions