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
@@ -17,8 +17,6 @@
#define MeshVS_HArray1OfSequenceOfInteger_HeaderFile
#include <MeshVS_Array1OfSequenceOfInteger.hxx>
#include <NCollection_DefineHArray1.hxx>
DEFINE_HARRAY1(MeshVS_HArray1OfSequenceOfInteger, MeshVS_Array1OfSequenceOfInteger)
#include <NCollection_HArray1.hxx>
typedef NCollection_HArray1<TColStd_SequenceOfInteger> MeshVS_HArray1OfSequenceOfInteger;
#endif
@@ -42,8 +42,6 @@
IMPLEMENT_STANDARD_HANDLE(AIS_Manipulator, AIS_InteractiveObject)
IMPLEMENT_STANDARD_RTTIEXT(AIS_Manipulator, AIS_InteractiveObject)
IMPLEMENT_HSEQUENCE(AIS_ManipulatorObjectSequence)
namespace
{
//! Return Ax1 for specified direction of Ax2.
@@ -28,7 +28,7 @@
#include <V3d_View.hxx>
#include <Standard_DefineHandle.hxx>
NCOLLECTION_HSEQUENCE(AIS_ManipulatorObjectSequence, Handle(AIS_InteractiveObject))
typedef NCollection_HSequence<Handle(AIS_InteractiveObject)> AIS_ManipulatorObjectSequence;
DEFINE_STANDARD_HANDLE(AIS_Manipulator, AIS_InteractiveObject)