0029734: Modeling Algorithms - Compute global properties of tessellated shape
authorifv <ifv@opencascade.com>
Thu, 17 May 2018 12:38:17 +0000 (15:38 +0300)
committerkgv <kgv@opencascade.com>
Sat, 23 Jun 2018 10:12:36 +0000 (13:12 +0300)
commit4b114473efae0e071c33e84dd70a2342e00b029f
tree8c156855dba27376cb4848c65615ff58a6205e19
parenta820bd4f136dd7ed8caeb08192b0df1936c03353
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