Version: 9.16.0
SMESH::Controls::Length Class Reference

#include <SMESH_ControlsDef.hxx>

Inheritance diagram for SMESH::Controls::Length:

Public Member Functions

virtual double GetValue (const TSequenceOfXYZ &thePoints)
 
virtual double GetBadRate (double Value, int nbNodes) const
 
virtual SMDSAbs_ElementType GetType () const
 
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
 
virtual bool IsApplicable (const SMDS_MeshElement *element) const
 Return true if a value can be computed for a given element. More...
 
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 Length::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 Length::GetType ( ) const
virtual

◆ GetValue() [1/2]

double Length::GetValue ( const TSequenceOfXYZ thePoints)
virtual

◆ GetValue() [2/2]

◆ IsApplicable() [1/2]

bool NumericalFunctor::IsApplicable ( const SMDS_MeshElement element) const
virtualinherited

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 in SMESH::Controls::AspectRatio, SMESH::Controls::AspectRatio3D, SMESH::Controls::Warping, SMESH::Controls::Warping3D, SMESH::Controls::Taper, SMESH::Controls::Skew, and SMESH::Controls::Length2D.

References SMESH::Controls::NumericalFunctor::GetType(), and SMDS_MeshElement::GetType().

◆ IsApplicable() [2/2]

◆ Round()

◆ SetMesh()

void NumericalFunctor::SetMesh ( const SMDS_Mesh theMesh)
virtualinherited

◆ SetPrecision()

void NumericalFunctor::SetPrecision ( const long  thePrecision)
inherited

Field Documentation

◆ myCurrElement

◆ myMesh

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

Referenced by SMESH::Controls::BadOrientedVolume::BadOrientedVolume(), SMESH::Controls::CoincidentElements::CoincidentElements(), SMESH::Controls::FreeBorders::FreeBorders(), SMESH::Controls::FreeEdges::FreeEdges(), SMESH::Controls::Deflection2D::GetValue(), SMESH::Controls::NumericalFunctor::GetValue(), SMESH::Controls::Volume::GetValue(), SMESH::Controls::MaxElementLength3D::GetValue(), SMESH::Controls::AspectRatio::GetValue(), SMESH::Controls::AspectRatio3D::GetValue(), SMESH::Controls::MultiConnection::GetValue(), SMESH::Controls::MultiConnection2D::GetValue(), SMESH::Controls::BallDiameter::GetValue(), SMESH::Controls::Warping3D::GetValue(), SMESH::Controls::NodeConnectivityNumber::GetValue(), SMESH::Controls::ScaledJacobian::GetValue(), SMESH::Controls::MultiConnection2D::GetValues(), SMESH::Controls::Length2D::GetValues(), SMESH::Controls::Warping3D::GetValues(), SMESH::Controls::NumericalFunctor::IsApplicable(), SMESH::Controls::CoincidentElements::IsSatisfy(), SMESH::Controls::FreeBorders::IsSatisfy(), SMESH::Controls::BadOrientedVolume::IsSatisfy(), SMESH::Controls::BareBorderVolume::IsSatisfy(), SMESH::Controls::BareBorderFace::IsSatisfy(), SMESH::Controls::OverConstrainedVolume::IsSatisfy(), SMESH::Controls::OverConstrainedFace::IsSatisfy(), SMESH::Controls::FreeEdges::IsSatisfy(), SMESH::Controls::NumericalFunctor::SetMesh(), SMESH::Controls::CoincidentElements::SetMesh(), SMESH::Controls::FreeBorders::SetMesh(), SMESH::Controls::BadOrientedVolume::SetMesh(), and SMESH::Controls::FreeEdges::SetMesh().

◆ myPrecision

◆ myPrecisionValue

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