]> OCCT Git - occt-copy.git/commit
0029734: Modeling Algorithms - Compute global properties of tessellated shape
authorifv <ifv@opencascade.com>
Thu, 17 May 2018 12:38:17 +0000 (15:38 +0300)
committerabv <abv@opencascade.com>
Tue, 3 Jul 2018 07:12:22 +0000 (10:12 +0300)
commit2b751582ac3141524c35b0abf3c5c138fb0bb7ba
tree01d972115005b74b06f6ddf39582e917a8081bd8
parent42da0d5115bff683c6b596e66cdeaff957f81e7d
0029734: Modeling Algorithms - Compute global properties of tessellated shape

New algorithms calculating global properties on mesh data have been added:
- BRepGProp_MeshCinert computes the global properties of polylines represented by a set of points;
- BRepGProp_MeshProps computes the global properties of a surface mesh.

Existing tool BRepGProp now automatically uses new algorithm for triangulation-only faces.
By default, algorithm will use exact geometry objects (surfaces), when it is available (as before the patch);
this behavior can be switched by a new flag UseTriangulation, forcing usage of triangulation instead of exact geometry when both defined.
15 files changed:
dox/user_guides/draw_test_harness/draw_test_harness.md
src/BRepGProp/BRepGProp.cxx
src/BRepGProp/BRepGProp.hxx
src/BRepGProp/BRepGProp_MeshCinert.cxx [new file with mode: 0644]
src/BRepGProp/BRepGProp_MeshCinert.hxx [new file with mode: 0644]
src/BRepGProp/BRepGProp_MeshProps.cxx [new file with mode: 0644]
src/BRepGProp/BRepGProp_MeshProps.hxx [new file with mode: 0644]
src/BRepGProp/FILES
src/BRepTest/BRepTest_GPropCommands.cxx
src/BRepTools/BRepTools.cxx
src/BRepTools/BRepTools.hxx
src/DBRep/DBRep.cxx
tests/bugs/modalg_7/bug29731 [new file with mode: 0644]
tests/bugs/modalg_7/bug29734 [new file with mode: 0644]
tests/bugs/vis/bug173_1