Foundation Classes - Refactor TColStd_PackedMapOfInteger and related classes (#1023)

- Replaced `TColStd_PackedMapOfInteger` implementation with a typedef to `NCollection_PackedMap<int>`
- Introduced new `NCollection_PackedMap` template class and `NCollection_PackedMapAlgo` namespace with standalone boolean operation functions
- Removed `TColStd_HPackedMapOfInteger` implementation files, keeping only the header as a deprecated wrapper
- Updated all iterator references from `TColStd_MapIteratorOfPackedMapOfInteger` to `TColStd_PackedMapOfInteger::Iterator`
- Replaced direct map method calls (Unite, Subtract, etc.) with standalone algorithm functions from `NCollection_PackedMapAlgo`
This commit is contained in:
Pasukhin Dmitry
2026-01-22 17:19:10 +00:00
committed by GitHub
parent 6707d70f59
commit f71af062ad
33 changed files with 2467 additions and 1872 deletions
@@ -24,7 +24,7 @@
#include <NCollection_DefineAlloc.hxx>
#include <NCollection_OccAllocator.hxx>
#include <IMeshData_ParametersListArrayAdaptor.hxx>
#include <TColStd_MapIteratorOfPackedMapOfInteger.hxx>
#include <TColStd_PackedMapOfInteger.hxx>
#include <NCollection_EBTree.hxx>
#include <Bnd_Box2d.hxx>
#include <NCollection_CellFilter.hxx>
@@ -120,7 +120,7 @@ typedef NCollection_Shared<NCollection_List<gp_Pnt2d>> ListOfPnt2d;
typedef NCollection_Shared<NCollection_List<IPCurveHandle>> ListOfIPCurves;
typedef NCollection_Shared<TColStd_PackedMapOfInteger> MapOfInteger;
typedef TColStd_MapIteratorOfPackedMapOfInteger IteratorOfMapOfInteger;
typedef TColStd_PackedMapOfInteger::Iterator IteratorOfMapOfInteger;
typedef NCollection_CellFilter<BRepMesh_CircleInspector> CircleCellFilter;
typedef NCollection_CellFilter<BRepMesh_VertexInspector> VertexCellFilter;