Salome HOME
PAL7705: Possibility to override default implementation added
[modules/smesh.git] / src / StdMeshers / StdMeshers_Regular_1D.hxx
index 548d5980204e69acefcfc36247a57405231adcab..b9d61432b11189afdac127515b61ba5ab215c537 100644 (file)
@@ -58,8 +58,9 @@ public:
 
 protected:
 
-  bool computeInternalParameters (const TopoDS_Edge&    theEdge,
-                                  std::list< double > & theParameters ) const;
+  virtual bool computeInternalParameters (const TopoDS_Edge&    theEdge,
+                                          std::list< double > & theParameters,
+                                          const bool            theReverse) const;
 
   enum HypothesisType { LOCAL_LENGTH, NB_SEGMENTS, BEG_END_LENGTH, DEFLECTION, ARITHMETIC_1D, NONE };
 
@@ -70,11 +71,14 @@ protected:
     END_LENGTH_IND   = 1,
     DEFLECTION_IND   = 0
     };
-  
+
   HypothesisType _hypType;
 
   double _value[2];
-  
+
+  // a source of propagated hypothesis, is set by CheckHypothesis()
+  // always called before Compute()
+  TopoDS_Shape _mainEdge;
 };
 
 #endif