const_reference operator[](size_type n) const;
};
+ /*
+ Class : Functor
+ Description : Root of all Functors
+ */
class Functor
{
public:
virtual SMDSAbs_ElementType GetType() const = 0;
};
+ /*
+ Class : NumericalFunctor
+ Description : Root of all Functors returning numeric value
+ */
class NumericalFunctor: public virtual Functor{
public:
NumericalFunctor();
};
+ /*
+ Class : Volume
+ Description : Functor calculating volume of 3D mesh element
+ */
+ class Volume: public virtual NumericalFunctor{
+ public:
+ virtual double GetValue( long theElementId );
+ //virtual double GetValue( const TSequenceOfXYZ& thePoints );
+ virtual double GetBadRate( double Value, int nbNodes ) const;
+ virtual SMDSAbs_ElementType GetType() const;
+ };
+
+
/*
Class : SMESH_MinimumAngle
Description : Functor for calculation of minimum angle