mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-05 12:17:50 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user