View Issue Details

IDProjectCategoryView StatusLast Update
0026311Open CASCADEOCCT:Modeling Algorithmspublic2015-06-04 11:19
ReporternbvAssigned Tomsv 
PrioritynormalSeverityfeature 
Status newResolutionopen 
Target VersionUnscheduled 
Summary0026311: Add check in Param-Param-intersection algorithm if surfaces are coincided or if thay do not have any intersection
DescriptionIf surfaces are coincided then there is no point in returning any intersection curve (see bug #26151).

If surfaces do not have any intersection the intersection algorithm will return empty result. However, processing this case takes too much time. Therefore, it will be better to detect this case before calling intersection algorithm (creating Walking-line).
Steps To Reproduce1. Example of coinciding surfaces:
  1.1. See Steps To Reproduce for bug #26151.
  1.2. Modified test case bugs\modalg_2\bug23732:

------
restore [locate_data_file bug23732_fx1.brep] b1
restore [locate_data_file bug23732_fx2.brep] b2

mksurface s1 b1
mksurface s2 b1

intersect result s1 s2
------

2. Example of not-intersecting surfaces:
  2.1. See message http://tracker.dev.opencascade.org/view.php?id=26151#c41807: offset faces_type_i C8, offset faces_type_i D7, offset shape_type_i C8, offset shape_type_i D6, offset shape_type_i D7.
TagsNo tags attached.
Test case number

Attached Files

  • ref.zip (28,127 bytes)
  • fix.zip (32,355 bytes)

Activities

nbv

2015-06-04 10:38

developer  

ref.zip (28,127 bytes)

nbv

2015-06-04 11:15

developer   ~0041929

One of idea to detect not-intersecting surfaces is that the Surface-Surface extrema should be used before intersection calling. It is enough to find only one minimum (there is no point in finding every extrema). If this minimal distance is greater, than tolerance, surfaces are not intersected. Nevertheless, what about performance?

nbv

2015-06-04 11:19

developer  

fix.zip (32,355 bytes)

Issue History

Date Modified Username Field Change
2015-06-04 10:25 nbv New Issue
2015-06-04 10:25 nbv Assigned To => msv
2015-06-04 10:38 nbv File Added: ref.zip
2015-06-04 10:38 nbv File Added: fix.zip
2015-06-04 11:15 nbv Note Added: 0041929
2015-06-04 11:18 nbv File Deleted: fix.zip
2015-06-04 11:19 nbv File Added: fix.zip