Version: 8.3.0
SMESH::Controls::BallDiameter Class Reference

#include <SMESH_ControlsDef.hxx>

Inheritance diagram for SMESH::Controls::BallDiameter:

Public Member Functions

virtual double GetValue (long theElementId)
 
virtual double GetBadRate (double Value, int nbNodes) const
 
virtual SMDSAbs_ElementType GetType () const
 
virtual void SetMesh (const SMDS_Mesh *theMesh)
 
virtual double GetValue (const TSequenceOfXYZ &thePoints)
 
void GetHistogram (int nbIntervals, std::vector< int > &nbEvents, std::vector< double > &funValues, const std::vector< int > &elements, const double *minmax=0, const bool isLogarithmic=false)
 Return histogram of functor values. More...
 
long GetPrecision () const
 
void SetPrecision (const long thePrecision)
 
double Round (const double &value)
 
bool GetPoints (const int theId, TSequenceOfXYZ &theRes) const
 

Static Public Member Functions

static bool GetPoints (const SMDS_MeshElement *theElem, TSequenceOfXYZ &theRes)
 

Protected Attributes

const SMDS_MeshmyMesh
 
const SMDS_MeshElementmyCurrElement
 
long myPrecision
 
double myPrecisionValue
 

Member Function Documentation

double BallDiameter::GetBadRate ( double  Value,
int  nbNodes 
) const
virtual
void NumericalFunctor::GetHistogram ( int  nbIntervals,
std::vector< int > &  nbEvents,
std::vector< double > &  funValues,
const std::vector< int > &  elements,
const double *  minmax = 0,
const bool  isLogarithmic = false 
)
inherited

Return histogram of functor values.

Parameters
nbIntervals- number of intervals
nbEvents- number of mesh elements having values within i-th interval
funValues- boundaries of intervals
elements- elements to check vulue of; empty list means "of all"
minmax- boundaries of diapason of values to divide into intervals

References SMDS_Mesh::elementsIterator(), SMDS_Mesh::GetMeshInfo(), SMESH::Controls::NumericalFunctor::GetType(), SMESH::Controls::NumericalFunctor::GetValue(), SMESH::Controls::NumericalFunctor::myMesh, and SMDS_MeshInfo::NbElements().

long NumericalFunctor::GetPrecision ( ) const
inherited
SMDSAbs_ElementType BallDiameter::GetType ( ) const
virtual
double BallDiameter::GetValue ( long  theElementId)
virtual
void NumericalFunctor::SetMesh ( const SMDS_Mesh theMesh)
virtualinherited
void NumericalFunctor::SetPrecision ( const long  thePrecision)
inherited

Field Documentation

const SMDS_MeshElement* SMESH::Controls::NumericalFunctor::myCurrElement
protectedinherited
double SMESH::Controls::NumericalFunctor::myPrecisionValue
protectedinherited