mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-08-10 00:02:41 +08:00
Modeling - Refactor BRepClass and FaceClassifier Implementation (#1167)
- Migrated `TopClass_FaceClassifier` / `TopClass_Classifier2d` implementations to `.pxx` and updated BRepClass/Geom2dHatch wrappers to use them (removing `_0.cxx` generator glue). - Updated BRep class helper headers to use header inlines instead of separate `.lxx` files, and added/rewired passive/face classifier implementations. - Extended `NCollection_DynamicArray` / `NCollection_KDTree` APIs (insert helpers, callback-based range query) and added GTests for the new vector insert operations.
This commit is contained in:
@@ -65,10 +65,10 @@ public:
|
||||
Standard_EXPORT void InitWires();
|
||||
|
||||
//! Returns True if there is a current wire.
|
||||
bool MoreWires() const;
|
||||
bool MoreWires() const { return myWExplorer.More(); }
|
||||
|
||||
//! Sets the explorer to the next wire.
|
||||
void NextWire();
|
||||
void NextWire() { myWExplorer.Next(); }
|
||||
|
||||
//! Returns True if the wire bounding volume does not
|
||||
//! intersect the segment.
|
||||
@@ -79,10 +79,10 @@ public:
|
||||
Standard_EXPORT void InitEdges();
|
||||
|
||||
//! Returns True if there is a current edge.
|
||||
bool MoreEdges() const;
|
||||
bool MoreEdges() const { return myEExplorer.More(); }
|
||||
|
||||
//! Sets the explorer to the next edge.
|
||||
void NextEdge();
|
||||
void NextEdge() { myEExplorer.Next(); }
|
||||
|
||||
//! Returns True if the edge bounding volume does not
|
||||
//! intersect the segment.
|
||||
@@ -127,6 +127,4 @@ private:
|
||||
double myVMax;
|
||||
};
|
||||
|
||||
#include <BRepClass_FaceExplorer.lxx>
|
||||
|
||||
#endif // _BRepClass_FaceExplorer_HeaderFile
|
||||
|
||||
Reference in New Issue
Block a user