mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0025039: Improvement of code structure of general and supporting tools implemented in BRepMesh
Removed CDL declarations; Data collections are replaced by NCollections; Small code refactoring. Remove definition of BRepMesh class. Code refactoring of BRepMesh_IncrementalMesh. Function BRepMesh_Write storing BRepMesh_DataStructureOfDelaun to BRep file is added for debug needs. Static method BRepMesh_GeomTool::IntLinLin has been added to eliminate code duplications in BRepMesh_Dealun and BRepMesh_CircleTool. BRepMesh_CircleTool simplified method to find circumcircle. Fix merging conflicts Remove redundant function Fix compilation warning on MacOS Revert changes occurred during rebase Resolved merging conflicts Use parallel flag with BRepMesh_FastDiscret Test cases for issue CR25039_2
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
#include <Bnd_Box.hxx>
|
||||
#include <BRep_Tool.hxx>
|
||||
#include <BRepBndLib.hxx>
|
||||
#include <BRepMesh.hxx>
|
||||
|
||||
#include <TopoDS.hxx>
|
||||
#include <TopoDS_Face.hxx>
|
||||
@@ -31,6 +30,7 @@
|
||||
#include <Poly_Triangulation.hxx>
|
||||
#include <IntAna2d_AnaIntersection.hxx>
|
||||
#include <BRepClass3d_SolidClassifier.hxx>
|
||||
#include <BRepMesh_IncrementalMesh.hxx>
|
||||
|
||||
// Printing the progress in stdout.
|
||||
//#define CONV_DUMP
|
||||
@@ -141,7 +141,7 @@ void Voxel_FastConverter::Init()
|
||||
// Re-create the triangulation.
|
||||
if (triangulate)
|
||||
{
|
||||
BRepMesh::Mesh(myShape, myDeflection);
|
||||
BRepMesh_IncrementalMesh(myShape, myDeflection);
|
||||
}
|
||||
|
||||
// Compute the number of triangles.
|
||||
|
Reference in New Issue
Block a user