0027870: Modeling - refactoring of HLR algorithms
[occt.git] / src / HLRBRep / HLRBRep_ShapeBounds.hxx
index dfd532d..69ec055 100644 (file)
 #ifndef _HLRBRep_ShapeBounds_HeaderFile
 #define _HLRBRep_ShapeBounds_HeaderFile
 
+#include <HLRAlgo_EdgesBlock.hxx>
+
 #include <Standard.hxx>
 #include <Standard_DefineAlloc.hxx>
 #include <Standard_Handle.hxx>
 
 #include <Standard_Integer.hxx>
-#include <Standard_Address.hxx>
 class HLRTopoBRep_OutLiner;
 class MMgt_TShared;
 
@@ -60,9 +61,15 @@ public:
   
   Standard_EXPORT void Bounds (Standard_Integer& V1, Standard_Integer& V2, Standard_Integer& E1, Standard_Integer& E2, Standard_Integer& F1, Standard_Integer& F2) const;
   
-  Standard_EXPORT void UpdateMinMax (const Standard_Address TotMinMax);
+  void UpdateMinMax (const HLRAlgo_EdgesBlock::MinMaxIndices& theTotMinMax)
+  {
+    myMinMax = theTotMinMax;
+  }
   
-    Standard_Address MinMax() const;
+  HLRAlgo_EdgesBlock::MinMaxIndices& MinMax()
+  {
+    return myMinMax;
+  }
 
 
 
@@ -86,7 +93,7 @@ private:
   Standard_Integer myEdgeEnd;
   Standard_Integer myFaceStart;
   Standard_Integer myFaceEnd;
-  Standard_Integer myMinMax[16];
+  HLRAlgo_EdgesBlock::MinMaxIndices myMinMax;
 
 
 };