DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0024278

Diagnostic possible intersection loops

Open CASCADEOCCT:Modeling Algorithmsassigned16 public notes

Search issues

Description

Implementation of method for fast diagnostic of possible intersection loops (closed intersection curves) for intersection of two surfaces

Steps to reproduce

No

Public activity

16 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Dear ifv,
Please review and comment.

I performed the following tests:

# infinite domain test
cone c 45 0
plane p 0 0 40 0 1 5
intersect e c p

# normals turn test
sphere s1 100
plane p 0 0 40 0 1 5
intersect e s1 p

# pair of Collinear normals test
plane p 0 0 70 0 0 1
plane p1 0 0 70 0 0 1
intersect e p p1


#pair of Collinear normals test 2
beziersurf s 3 3 0 0 0 10 0 0 20 0 0 0 10 0 10 10 10 20 10 0 0 20 0 10 20 0 20 20 0
plane p 0 0 1 0 0 1
intersect e s p

#no Collinear normals
plane p 0 0 70 0 0 1
plane p1 0 0 70 1 0 0
intersect e p p1

#no Collinear normals
plane p 0 0 70 0 0 1
plane p1 0 0 70 0 0.5 0.5
intersect e p p1



02Commenter 2
Dear ifv,
Please review and comment branch CR24278.
03Commenter 3
Dear ifv,
Please review and comment branch CR24278.
04Commenter 4
It is necessary to include not CDL class in package by corret way.
05Commenter 5
Dear ifv,
Please review current state of branch CR24278.
06Commenter 6
Ok
07Commenter 7
Dear BugMaster,

Branch CR24278 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
[revision removed]

Number of compiler warnings:

occt component :
Linux: 319 (323 on master)
Windows: 0 (0 on master)

products component :
Linux: 189 (189 on master)
Windows: 287 (287 on master)

Regressions/Differences:
http://occt-tests/CR24278-master-occt/Debian60-64/summary.html
http://occt-tests/CR24278-master-occt/Windows-32-VC9/summary.html

Testing cases:
Not needed

Testing on Linux:
Total MEMORY difference: 355572264 / 355669756
Total CPU difference: 41980.18000000134 / 40330.98000000063

Testing on Windows:
Total MEMORY difference: 406400352 / 405650756
Total CPU difference: 31531.375 / 34529.8125

There are not differences in images found by testdiff.
http://occt-tests/CR24278-master-occt/Debian60-64/diff-Debian60-64.html
http://occt-tests/CR24278-master-occt/Windows-32-VC9/diff-Windows-32-VC9.html
IMAGE boolean bopcut_complex M6: M6.png differs
IMAGE boolean bopfuse_complex L1: L1.png differs
IMAGE boolean bopfuse_complex L5: L5.png differs
IMAGE boolean bopfuse_complex L6: L6.png differs
IMAGE boolean bopfuse_complex M3: M3.png differs
IMAGE boolean bopfuse_complex M4: M4.png differs
IMAGE boolean bfuse_complex O1: O1.png differs
IMAGE boolean bfuse_complex O2: O2.png differs
IMAGE boolean bfuse_complex O3: O3.png differs
IMAGE boolean bfuse_complex O4: O4.png differs
IMAGE boolean bfuse_complex P2: P2.png differs
IMAGE boolean bfuse_complex P3: P3.png differs
IMAGE boolean bfuse_complex S3: S3.png differs
IMAGE boolean bfuse_complex S4: S4.png differs

08Commenter 8
Dear ifv,
Please check current state of branch CR24278_2 to be sure it is ok.
09Commenter 9
Using LoopDetector in IntPatch_Intersection is again wrong.
10Commenter 10
Dear ifv,
Please check current state of branch CR24278_2 to be sure it is ok.
11Commenter 11
Ok
12Commenter 12
Dear BugMaster,

Branch CR24278_2 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
[revision removed]

Number of compiler warnings:

occt component :
Linux: 323 (323 on master)
Windows: 0 (0 on master)

products component :
Linux: 188 (189 on master)
Windows: 287 (287 on master)

Regressions/Differences:
No regressions/differences

Testing cases:
Not needed

Testing on Linux:
Total MEMORY difference: 356288416 / 356295124
Total CPU difference: 42480.45000000094 / 40672.21000000072

Testing on Windows:
Total MEMORY difference: 407595320 / 406471844
Total CPU difference: 27912.84375 / 34772.53125

There are not differences in images found by testdiff.
13Commenter 13
Dear ifv,
Please check current state of branch CR24278_2 to be sure it is still ok.
14Commenter 14
Dear BugMaster,

Branch CR24278_2 was rebased on current master. Branch CR24278_2 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
[revision removed]

Number of compiler warnings:

occt component :
Linux: 318 (318 on master)
Windows: 0 (0 on master)

products component :
Linux: 188 (188 on master)
Windows: 287 (287 on master)

Regressions/Differences:
No regressions/differences

Testing cases:
Not needed

Testing on Linux:
Total MEMORY difference: 356323636 / 356538344
Total CPU difference: 42131.38000000106 / 42450.93000000157

Testing on Windows:
Total MEMORY difference: 411357268 / 410728524
Total CPU difference: 32633.25 / 30177.296875

There are following differences in images found by testdiff.
http://occt-tests/CR24278-02-master-occt/Debian60-64/diff-Debian60-64.html
http://occt-tests/CR24278-02-master-occt/Windows-32-VC9/diff-Windows-32-VC9.html
IMAGE bugs modalg_4 pro19653: pro19653.png differs
15Commenter 15
Igor, what is the status of this issue?
16Commenter 16
Task is not completed: implementation is done, it is nevessary to test and compary perfomance with current implementation of intersection algo.