Version: 9.12.0
SMESH::Controls::Skew Class Reference

#include <SMESH_ControlsDef.hxx>

Inheritance diagram for SMESH::Controls::Skew:

Public Member Functions

virtual double GetValue (const TSequenceOfXYZ &thePoints)
 
virtual double GetBadRate (double Value, int nbNodes) const
 
virtual SMDSAbs_ElementType GetType () const
 
virtual bool IsApplicable (const SMDS_MeshElement *element) const
 Return true if a value can be computed for a given element. More...
 
virtual void SetMesh (const SMDS_Mesh *theMesh)
 
virtual double GetValue (long theElementId)
 
void GetHistogram (int nbIntervals, std::vector< int > &nbEvents, std::vector< double > &funValues, const std::vector<::smIdType > &elements, const double *minmax=0, const bool isLogarithmic=false)
 
bool IsApplicable (long theElementId) const
 
long GetPrecision () const
 
void SetPrecision (const long thePrecision)
 
double Round (const double &value)
 
bool GetPoints (const ::smIdType 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

◆ GetBadRate()

double Skew::GetBadRate ( double  Value,
int  nbNodes 
) const
virtual

◆ GetHistogram()

void SMESH::Controls::NumericalFunctor::GetHistogram ( int  nbIntervals,
std::vector< int > &  nbEvents,
std::vector< double > &  funValues,
const std::vector<::smIdType > &  elements,
const double *  minmax = 0,
const bool  isLogarithmic = false 
)
inherited

◆ GetPoints() [1/2]

◆ GetPoints() [2/2]

◆ GetPrecision()

long NumericalFunctor::GetPrecision ( ) const
inherited

◆ GetType()

SMDSAbs_ElementType Skew::GetType ( ) const
virtual

◆ GetValue() [1/2]

double Skew::GetValue ( const TSequenceOfXYZ thePoints)
virtual

◆ GetValue() [2/2]

◆ IsApplicable() [1/2]

bool Skew::IsApplicable ( const SMDS_MeshElement element) const
virtual

Return true if a value can be computed for a given element.

Some NumericalFunctor's are meaningful for elements of a certain geometry only.

Reimplemented from SMESH::Controls::NumericalFunctor.

References SMESH::Controls::NumericalFunctor::IsApplicable(), and SMDS_MeshElement::NbNodes().

◆ IsApplicable() [2/2]

◆ Round()

◆ SetMesh()

void NumericalFunctor::SetMesh ( const SMDS_Mesh theMesh)
virtualinherited

◆ SetPrecision()

void NumericalFunctor::SetPrecision ( const long  thePrecision)
inherited

Field Documentation

◆ myCurrElement

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

◆ myMesh

const SMDS_Mesh* SMESH::Controls::NumericalFunctor::myMesh
protectedinherited

◆ myPrecision

◆ myPrecisionValue

double SMESH::Controls::NumericalFunctor::myPrecisionValue
protectedinherited