mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-11 05:09:46 +08:00
0025625: Boolean COMMON cannot be built
class BOPTools_AlgoTools2D
method void BOPTools_AlgoTools2D::Make2D (const TopoDS_Edge& aE,
const TopoDS_Face& aF,
Handle(Geom2d_Curve)& aC2D,
Standard_Real& aFirst,
Standard_Real& aLast,
Standard_Real& aToler)
Perform projection with the tolerance of the edge.
Test case for issue CR25625
This commit is contained in:
@@ -540,7 +540,7 @@ void BOPTools_AlgoTools2D::Make2D (const TopoDS_Edge& aE,
|
||||
}
|
||||
|
||||
//
|
||||
aToler=.5*BRep_Tool::Tolerance(aE);
|
||||
aToler = BRep_Tool::Tolerance(aE);
|
||||
BOPTools_AlgoTools2D::MakePCurveOnFace(aF, C3D2, f3d, l3d, aC2D, aToler);
|
||||
//
|
||||
aFirst = f3d;
|
||||
|
||||
Reference in New Issue
Block a user