Coding - Refactor HArray and HSequence Definitions (#962)

- Replaced custom DEFINE_HARRAY1 and DEFINE_HSEQUENCE macros with typedefs to NCollection_HArray1 and NCollection_HSequence for various data types across multiple files.
- Updated header files in the following modules:
  - HLRAlgo
  - TKShHealing
  - TKBRep
  - TKG2d
  - TKG3d
  - TKGeomBase
  - TKMeshVS
  - TKV3d
- This change improves consistency and reduces the complexity of the codebase by utilizing the standard NCollection templates.
This commit is contained in:
Pasukhin Dmitry
2025-12-28 11:42:24 +00:00
committed by GitHub
parent 4c975e6a62
commit b5d2fc73fb
289 changed files with 1133 additions and 1341 deletions

View File

@@ -18,8 +18,6 @@
#define BRepAdaptor_HArray1OfCurve_HeaderFile
#include <BRepAdaptor_Array1OfCurve.hxx>
#include <NCollection_DefineHArray1.hxx>
DEFINE_HARRAY1(BRepAdaptor_HArray1OfCurve, BRepAdaptor_Array1OfCurve)
#include <NCollection_HArray1.hxx>
typedef NCollection_HArray1<BRepAdaptor_Curve> BRepAdaptor_HArray1OfCurve;
#endif

View File

@@ -18,8 +18,6 @@
#define TopTools_HArray1OfListOfShape_HeaderFile
#include <TopTools_Array1OfListOfShape.hxx>
#include <NCollection_DefineHArray1.hxx>
DEFINE_HARRAY1(TopTools_HArray1OfListOfShape, TopTools_Array1OfListOfShape)
#include <NCollection_HArray1.hxx>
typedef NCollection_HArray1<TopTools_ListOfShape> TopTools_HArray1OfListOfShape;
#endif

View File

@@ -19,8 +19,6 @@
#include <TopoDS_Shape.hxx>
#include <TopTools_Array1OfShape.hxx>
#include <NCollection_DefineHArray1.hxx>
DEFINE_HARRAY1(TopTools_HArray1OfShape, TopTools_Array1OfShape)
#include <NCollection_HArray1.hxx>
typedef NCollection_HArray1<TopoDS_Shape> TopTools_HArray1OfShape;
#endif

View File

@@ -19,8 +19,6 @@
#include <TopoDS_Shape.hxx>
#include <TopTools_Array2OfShape.hxx>
#include <NCollection_DefineHArray2.hxx>
DEFINE_HARRAY2(TopTools_HArray2OfShape, TopTools_Array2OfShape)
#include <NCollection_HArray2.hxx>
typedef NCollection_HArray2<TopoDS_Shape> TopTools_HArray2OfShape;
#endif

View File

@@ -19,8 +19,6 @@
#include <TopoDS_Shape.hxx>
#include <TopTools_SequenceOfShape.hxx>
#include <NCollection_DefineHSequence.hxx>
DEFINE_HSEQUENCE(TopTools_HSequenceOfShape, TopTools_SequenceOfShape)
#include <NCollection_HSequence.hxx>
typedef NCollection_HSequence<TopoDS_Shape> TopTools_HSequenceOfShape;
#endif