class SMESHDS_SubMesh;
class SMESHDS_GroupBase;
-class gp_Pnt;
class BRepClass3d_SolidClassifier;
class ShapeAnalysis_Surface;
+class gp_Pln;
+class gp_Pnt;
namespace SMESH{
namespace Controls{
/*
Class : Length2D
- Description : Functor for calculating length of edge
+ Description : Functor for calculating minimal length of edge
*/
class SMESHCONTROLS_EXPORT Length2D: public virtual NumericalFunctor{
public:
private:
Handle(ShapeAnalysis_Surface) mySurface;
int myShapeIndex;
+ boost::shared_ptr<gp_Pln> myPlane;
};
/*
virtual
void
- GetElementsId( const SMDS_Mesh* theMesh,
- TIdSequence& theSequence );
+ GetElementsId( const SMDS_Mesh* theMesh,
+ TIdSequence& theSequence,
+ SMDS_ElemIteratorPtr theElements=0);
static
void
- GetElementsId( const SMDS_Mesh* theMesh,
- PredicatePtr thePredicate,
- TIdSequence& theSequence );
+ GetElementsId( const SMDS_Mesh* theMesh,
+ PredicatePtr thePredicate,
+ TIdSequence& theSequence,
+ SMDS_ElemIteratorPtr theElements=0 );
protected:
PredicatePtr myPredicate;