Foundation Classes - Migrate Bnd_B2x and Bnd_B3x from macro-template to C++ templates (#820)

- Replaced macro-based template system with C++ templates for `Bnd_B2` and `Bnd_B3` classes
- Fixed incorrect use of Y-coordinate instead of Z-coordinate in transformation methods
- Added comprehensive GTest test coverage for both 2D and 3D bounding box classes
This commit is contained in:
Pasukhin Dmitry
2025-11-12 18:46:10 +00:00
committed by GitHub
parent ed1d0c88cc
commit 44df7106f3
20 changed files with 1235 additions and 1161 deletions
@@ -22,7 +22,7 @@
#include <Precision.hxx>
#include <Bnd_Box2d.hxx>
#include <Bnd_B2d.hxx>
#include <Bnd_B2.hxx>
#include <BRepMesh_SelectorOfDataStructureOfDelaun.hxx>
@@ -26,7 +26,6 @@
#include <BRepMesh_GeomTool.hxx>
#include <Message_ProgressRange.hxx>
class Bnd_B2d;
class Bnd_Box2d;
class BRepMesh_Vertex;
@@ -32,7 +32,7 @@
#include <NCollection_UBTreeFiller.hxx>
#include <NCollection_IndexedMap.hxx>
#include <BRepMesh_Vertex.hxx>
#include <Bnd_B2d.hxx>
#include <Bnd_B2.hxx>
#include <BRepMesh_Circle.hxx>
#include <BRepMesh_Triangle.hxx>
#include <BRepMesh_PairOfIndex.hxx>