1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-03 14:10:33 +03:00

0024939: Incorrect result of Fuse operation

Modification:
class IntTools_EdgeEdge
For correct computation of resolution for curves of type Hyperbola and Parabola two new static functions have been implemented:
static
  Standard_Real ResolutionCoeff(const BRepAdaptor_Curve& theBAC,
                                const IntTools_Range& theRange);
static
  Standard_Real Resolution(const Handle(Geom_Curve)& theCurve,
                           const GeomAbs_CurveType theCurveType,
                           const Standard_Real theResCoeff,
                           const Standard_Real theR3D);

bugs moddata_2 bug26_2 - improvement.
Test case for issue CR24939
Test case correction for issue CR24939
This commit is contained in:
emv
2014-06-05 14:23:29 +04:00
committed by apn
parent f284355851
commit a4e383e1b8
6 changed files with 246 additions and 90 deletions

View File

@@ -26,6 +26,8 @@ inline IntTools_EdgeEdge::IntTools_EdgeEdge()
myTol(0.),
myRes1(0.),
myRes2(0.),
myResCoeff1(0.),
myResCoeff2(0.),
myPTol1(0.),
myPTol2(0.),
myRange1(0., 0.),
@@ -48,6 +50,8 @@ inline IntTools_EdgeEdge::IntTools_EdgeEdge(const TopoDS_Edge& theEdge1,
myTol(0.),
myRes1(0.),
myRes2(0.),
myResCoeff1(0.),
myResCoeff2(0.),
myPTol1(0.),
myPTol2(0.),
myRange1(0., 0.),
@@ -74,6 +78,8 @@ inline IntTools_EdgeEdge::IntTools_EdgeEdge(const TopoDS_Edge& theEdge1,
myTol(0.),
myRes1(0.),
myRes2(0.),
myResCoeff1(0.),
myResCoeff2(0.),
myPTol1(0.),
myPTol2(0.),
myRange1(aT11, aT12),