]> OCCT Git - occt.git/commit
0030827: Add common functionality allowing to switch triangulation algorithm in runtime
authoroan <oan@opencascade.com>
Wed, 3 Jul 2019 08:45:18 +0000 (11:45 +0300)
committeroan <oan@opencascade.com>
Mon, 8 Jul 2019 12:40:36 +0000 (15:40 +0300)
commit4c04741d4cae160c181c94da7c15b5dbec796f6f
tree56fd2621f3022f5f8cd48c55e631739aff182c8e
parent0d56f7433b23f4aa855701f5e71b9612b2584afb
0030827: Add common functionality allowing to switch triangulation algorithm in runtime

New classes BRepMesh_ConstrainedBaseMeshAlgo, BRepMesh_CustomBaseMeshAlgo and BRepMesh_CustomDelaunayBaseMeshAlgo are added.
These classes allow to add any custom triangulation algorithm to BRepMesh and perform post-processing and optimization of base mesh generated by those algorithms.
BRepMesh_Delaun: added possibility to process constraints when base mesh is generated by different algorithm.
BRepMesh_DelaunayNodeInsertionMeshAlgo: added PreProcessSurfaceNodes flag controlling addition of surface nodes (either before creation of base mesh or after) to gain maximum performance from triangulation algorithms.

Minor changes:
Use simple algorithm for cylinders when internal vertices mode is switched off to speed up computations.
BRepMesh_IncrementalMesh: added Perform method allowing to execute algorithm using manually created Context.
14 files changed:
src/BRepMesh/BRepMesh_CircleTool.hxx
src/BRepMesh/BRepMesh_ConstrainedBaseMeshAlgo.hxx [new file with mode: 0644]
src/BRepMesh/BRepMesh_CustomBaseMeshAlgo.hxx [new file with mode: 0644]
src/BRepMesh/BRepMesh_CustomDelaunayBaseMeshAlgo.hxx [new file with mode: 0644]
src/BRepMesh/BRepMesh_Delaun.cxx
src/BRepMesh/BRepMesh_Delaun.hxx
src/BRepMesh/BRepMesh_DelaunayBaseMeshAlgo.hxx
src/BRepMesh/BRepMesh_DelaunayDeflectionControlMeshAlgo.hxx
src/BRepMesh/BRepMesh_DelaunayNodeInsertionMeshAlgo.hxx
src/BRepMesh/BRepMesh_FaceChecker.cxx
src/BRepMesh/BRepMesh_IncrementalMesh.cxx
src/BRepMesh/BRepMesh_IncrementalMesh.hxx
src/BRepMesh/BRepMesh_MeshAlgoFactory.cxx
src/BRepMesh/FILES