occt: master b6cf8ffa

Author Committer Branch Timestamp Parent
emv apn master 2017-11-27 12:52:55 master f24150b8
Affected Issues  0028385: Improve drawing isolines (DBRep_IsoBuilder algorithm)
Changeset 0028385: Improve drawing isolines (DBRep_IsoBuilder algorithm)

1. When computing the iso-lines for the face (*DBRep_IsoBuilder*) prepare the Hatching algorithm with the following elements:
a. Trimmed p-curves of edges. The trimming parameters are computed by intersection with p-curves of the neighboring edges. The trimming will be performed only if the intersection point is covered by the tolerance of common vertex.
b. 2D segments connecting the p-curves of the neighboring edges. These segments will close the 2D gaps, which are closed in 3D by the tolerance of vertices shared between edges. This will allow trimming correctly the iso-lines passing through such gaps.

2. Implementation of the additional Init() method for WireExplorer algorithm taking UV bounds of the face to avoid their repeated computation when work working with a face having multiple wires.

3. Test cases for the issue.
mod - src/BRepTools/BRepTools_WireExplorer.cxx Diff File
mod - src/BRepTools/BRepTools_WireExplorer.hxx Diff File
mod - src/DBRep/DBRep_IsoBuilder.cxx Diff File
mod - src/DBRep/DBRep_IsoBuilder.hxx Diff File
rm - src/DBRep/DBRep_IsoBuilder.lxx Diff File
mod - src/DBRep/FILES Diff File
mod - src/math/math_FunctionRoots.cxx Diff File
add - tests/bugs/modalg_7/bug28385_1 Diff File
add - tests/bugs/modalg_7/bug28385_10 Diff File
add - tests/bugs/modalg_7/bug28385_2 Diff File
add - tests/bugs/modalg_7/bug28385_3 Diff File
add - tests/bugs/modalg_7/bug28385_4 Diff File
add - tests/bugs/modalg_7/bug28385_5 Diff File
add - tests/bugs/modalg_7/bug28385_6 Diff File
add - tests/bugs/modalg_7/bug28385_7 Diff File
add - tests/bugs/modalg_7/bug28385_8 Diff File
add - tests/bugs/modalg_7/bug28385_9 Diff File