mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0027032: [Regression to 6.9.1] Result of bcut has the same volume as the object
- Avoid reducing tolerance of the original edges in BOPAlgo_PaveFiller::CorrectToleranceOfSE - If a boundary edge is considered coincident with a section curve then increase its tolerance more carefully, using real distance instead of extended reached tolerance. - New test case bugs/modalg_6/bug27032 - Test cases boolean/gdml_private/E4-F3 have been amended to check area of the result. - Puts TODO in test cases boolean gdml_private ZI5,ZI7,ZJ7.
This commit is contained in:
@@ -481,12 +481,13 @@ Standard_Integer IntTools_Context::ComputePE
|
||||
(const gp_Pnt& aP1,
|
||||
const Standard_Real aTolP1,
|
||||
const TopoDS_Edge& aE2,
|
||||
Standard_Real& aT)
|
||||
Standard_Real& aT,
|
||||
Standard_Real& aDist)
|
||||
{
|
||||
if (!BRep_Tool::IsGeometric(aE2)) {
|
||||
return -2;
|
||||
}
|
||||
Standard_Real aDist, aTolE2, aTolSum;
|
||||
Standard_Real aTolE2, aTolSum;
|
||||
Standard_Integer aNbProj;
|
||||
//
|
||||
GeomAPI_ProjectPointOnCurve& aProjector=ProjPC(aE2);
|
||||
|
@@ -108,7 +108,9 @@ Standard_EXPORT virtual ~IntTools_Context();
|
||||
//! 1. the edge is degenerated (-1)
|
||||
//! 2. the edge does not contain 3d curve and pcurves (-2)
|
||||
//! 3. projection algorithm failed (-3)
|
||||
Standard_EXPORT Standard_Integer ComputePE (const gp_Pnt& theP, const Standard_Real theTolP, const TopoDS_Edge& theE, Standard_Real& theT);
|
||||
Standard_EXPORT Standard_Integer ComputePE (const gp_Pnt& theP, const Standard_Real theTolP,
|
||||
const TopoDS_Edge& theE, Standard_Real& theT,
|
||||
Standard_Real& theDist);
|
||||
|
||||
|
||||
//! Computes parameter of the vertex aV on
|
||||
|
Reference in New Issue
Block a user