occt: master 4c04741d

Author Committer Branch Timestamp Parent
oan oan master 2019-07-03 08:45:18 master 0d56f743
Changeset 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.
mod - src/BRepMesh/BRepMesh_CircleTool.hxx Diff File
add - src/BRepMesh/BRepMesh_ConstrainedBaseMeshAlgo.hxx Diff File
add - src/BRepMesh/BRepMesh_CustomBaseMeshAlgo.hxx Diff File
add - src/BRepMesh/BRepMesh_CustomDelaunayBaseMeshAlgo.hxx Diff File
mod - src/BRepMesh/BRepMesh_Delaun.cxx Diff File
mod - src/BRepMesh/BRepMesh_Delaun.hxx Diff File
mod - src/BRepMesh/BRepMesh_DelaunayBaseMeshAlgo.hxx Diff File
mod - src/BRepMesh/BRepMesh_DelaunayDeflectionControlMeshAlgo.hxx Diff File
mod - src/BRepMesh/BRepMesh_DelaunayNodeInsertionMeshAlgo.hxx Diff File
mod - src/BRepMesh/BRepMesh_FaceChecker.cxx Diff File
mod - src/BRepMesh/BRepMesh_IncrementalMesh.cxx Diff File
mod - src/BRepMesh/BRepMesh_IncrementalMesh.hxx Diff File
mod - src/BRepMesh/BRepMesh_MeshAlgoFactory.cxx Diff File
mod - src/BRepMesh/FILES Diff File