1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-03 14:10:33 +03:00

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.
This commit is contained in:
emv
2017-11-27 15:52:55 +03:00
committed by apn
parent f24150b851
commit b6cf8ffa35
17 changed files with 669 additions and 184 deletions

View File

@@ -14,7 +14,6 @@ DBRep_HideData.hxx
DBRep_HideData.lxx
DBRep_IsoBuilder.cxx
DBRep_IsoBuilder.hxx
DBRep_IsoBuilder.lxx
DBRep_ListIteratorOfListOfEdge.hxx
DBRep_ListIteratorOfListOfFace.hxx
DBRep_ListIteratorOfListOfHideData.hxx