mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-01 10:26:12 +03:00
Modifications 1 1. To avoid creation of micro edges in the class BOPAlgo_PaveFiller added two new functions ForceInterfVE and ForceInterfVF which updates tolerance of Vertex to make it interfere with Edge and Face accordingly. 2. In the class BOPInt_Tools added new function IsInRange which checks whether two ranges cross each other. 3. In the class BOPTools_AlgoTools added new function IntersectCurves2d which intersects pcurves of the face to check it on the self-interference. 4. In the function IntTools_BeanFaceIntersector::FastComputeExactIntersection() the check on the coincidence of the whole edge with the face (BOPTools_AlgoTools::IsBlockInOnFace) replaced with the check on the coincidence of one intermediate point with that face. 5. Test cases bugs modalg_1 bug1255, bug1255_1 has been updated with more correct value of the result. 6. TODO statement has been removed from the test cases boolean bcut_complex B1,B3,B5,C2,C4,C6,C8 as they are correct. Adding test case for issue CR23958 Modification 2 1. In class BOPAlgo_PaveFiller added new function CheckPlanes(nF1, nF2) that checks whether two planar faces have common or intersecting sub shapes. If these two faces do not have such sub shapes there is no need to intersect them. 2. In the function BOPAlgo_PaveFiller::MakeBlocks() added block for reducing the tolerance values to the previous state for the vertices that were put on the section curve (with increasing of its tolerance value) that was rejected by the algorithm. Modification 3 Back to Extrema_ExtAlgo_Grad algorithm in extrema computations in Boolean Operations algorithm.
33 lines
1.4 KiB
C++
33 lines
1.4 KiB
C++
// Created by: Eugeny MALTCHIKOV
|
|
// Copyright (c) 1999-2012 OPEN CASCADE SAS
|
|
//
|
|
// The content of this file is subject to the Open CASCADE Technology Public
|
|
// License Version 6.5 (the "License"). You may not use the content of this file
|
|
// except in compliance with the License. Please obtain a copy of the License
|
|
// at http://www.opencascade.org and read it completely before using this file.
|
|
//
|
|
// The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
|
|
// main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
|
|
//
|
|
// The Original Code and all software distributed under the License is
|
|
// distributed on an "AS IS" basis, without warranty of any kind, and the
|
|
// Initial Developer hereby disclaims all such warranties, including without
|
|
// limitation, any warranties of merchantability, fitness for a particular
|
|
// purpose or non-infringement. Please see the License for the specific terms
|
|
// and conditions governing the rights and limitations under the License.
|
|
|
|
|
|
#ifndef BOPCol_DataMapOfIntegerReal_HeaderFile
|
|
#define BOPCol_DataMapOfIntegerReal_HeaderFile
|
|
|
|
#include <NCollection_DataMap.hxx>
|
|
|
|
#include <TColStd_MapIntegerHasher.hxx>
|
|
|
|
typedef NCollection_DataMap<Standard_Integer, Standard_Real, TColStd_MapIntegerHasher> BOPCol_DataMapOfIntegerReal;
|
|
typedef BOPCol_DataMapOfIntegerReal::Iterator BOPCol_DataMapIteratorOfDataMapOfIntegerReal;
|
|
|
|
#undef _NCollection_MapHasher
|
|
|
|
#endif
|