Modeling - General Fuse (BOPAlgo_PaveFiller) optimization #514

Adding a null check for the triangulation in BRep_Tool::IsClosed.
Simplifying index lookup logic in BOPDS_DS.
Introducing helper functions (IsPlaneFF and IsClosedFF) and updating iteration loops in BOPAlgo_PaveFiller_6 for improved clarity and robustness.
This commit is contained in:
Dmitrii Kulikov
2025-05-16 00:03:44 +01:00
committed by GitHub
parent a56d85bf15
commit 7b016e5c28
3 changed files with 135 additions and 59 deletions
@@ -795,6 +795,11 @@ Standard_Boolean BRep_Tool::IsClosed(const TopoDS_Edge& E,
const Handle(Poly_Triangulation)& T,
const TopLoc_Location& L)
{
if (T.IsNull())
{
return Standard_False;
}
TopLoc_Location l = L.Predivided(E.Location());
// find the representation