DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0024648

Different types of intersection curves between Cone and Torus with a different order of arguments

Open CASCADEOCCT:Modeling Algorithmsclosed3 public notes

Search issues

Description

Different types of intersection curves between Cone and Cylinder with a different order of arguments.

Steps to reproduce

cone s1 60 0
torus s2 30 20
intersect i s1 s2
# i_1 i_2 i_3 i_4 i_5 i_6
dump i_1
# *********** Dump of i_1 *************
# BSplineCurve

intersect i1 s2 s1
# i1_1 i1_2 i1_3 i1_4 i1_5 i1_6
dump i1_1
# *********** Dump of i1_1 *************
# Trimmed curve
# Parameters : 1.5707963267949 7.85398163397448
# Basis curve :
# Circle

Additional information

Correct treatment of the cases with Cone and Torus.

Public activity

3 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Git branch CR24648 is ready to be reviewed.
02Commenter 2
reviewed
03Commenter 3
Dear BugMaster,

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

Number of compiler warnings:

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

products component :
Linux: 12 (12 on master)
Windows: 2 (2 on master)

Regressions/Differences:
No regressions/differences

Testing cases:
http://occt-tests/CR24648-master-occt/Debian60-64/bugs/modalg_5/bug24648.html
http://occt-tests/CR24648-master-occt/Windows-32-VC9/bugs/modalg_5/bug24648.html
bugs modalg_5(010) bug24648: OK

Testing on Linux:
Total MEMORY difference: 382728492 / 383419896
Total CPU difference: 42317.56000000008 / 42572.35999999976

Testing on Windows:
Total MEMORY difference: 429289336 / 429063576
Total CPU difference: 35108.296875 / 33299.265625

There are not differences in images found by testdiff.