• emv's avatar
    0028591: BOP Cut creates wrong result · 5652dc62
    emv authored
    The Face/Face intersection procedure has been changed in Boolean Operations algorithm.
    Previously, the intersection tolerance for all section curves between pair of faces has been calculated
    as the maximal tolerance among all curves. Now, each curve has its own valid tolerance calculated
    as the maximal deviation of the 3D curve from its 2D curves on faces or surfaces in case there are no 2D curves.
    
    Thus, such methods of IntTools_FaceFace algorithm as TolReached3d(), TolReal() and TolReached2d() have been removed.
    Now the tolerances of the curve can be obtained from the curve itself (IntTools_Curve - result of intersection):
    - IntTools_Curve::Tolerance() - returns the valid tolerance for the curve;
    - IntTools_Curve::TangentialTolerance() - returns the tangential tolerance, which depends on the size of the common
      between faces. Currently, this tolerance is computed for Plane/Plane cases only. For other case, the value
      of the tangential tolerance is the maximal tolerance of faces.
    
    2D intersection tolerance (IntTools_FaceFace::TolReached2d()) has been completely removed from the algorithm as unused.
    5652dc62
BOPAlgo_PaveFiller.hxx 18.4 KB