DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0025886

Wrong result obtained by projection algorithm.

Open CASCADEOCCT:Modeling Algorithmsclosed8 public notes

Search issues

Description

Wrong result obtained by projection algorithm.

The issue comes from:
#0025880

Steps to reproduce

# Use the following DRAW commands to reproduce the problem:
#
restore cx
explode cx
copy cx_1 f
mksurface s f
mkcurve c3 cx_3
mkcurve c5 cx_5

project c3x c3 s
project c5x c5 s

Public activity

8 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Dear aml, it seems you already had deal with such cases. It concerns projecting of a curve near the sphere pole.
02Commenter 2
Branch [archived branch] has been created by Participant.

[revision removed]


Detailed log of new commits:

Author: aml
Date: Wed Mar 4 14:29:35 2015 +0300

    0025886: Wrong result obtained by projection algorithm
    
    Usage of current iteration approximation added if necessary.
    Test case update.
03Commenter 3
Dear msv,

Please check current state of branch CR25886.

Take into account that fix heals only self intersection of pcurves and does not change their form. Please look to the attached images for additional information.

04Commenter 4
Reviewed.
05Commenter 5
Zoomed image of c3x curve and it dump added.
06Commenter 2
Branch [archived branch] has been updated by Participant.

[revision removed]


Detailed log of new commits:

Author: apv
Date: Thu Mar 5 17:46:58 2015 +0300

    Test-case for issue #0025886

07Commenter 7
Dear Commenter 1,

Branch CR25886 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested.
[revision removed]

Number of compiler warnings:
occt component:
   Linux: 18 (18 on master)
   Windows: 2 (2 on master)
products component:
   Linux: 11 (11 on master)

Regressions/Differences:
Not detected

Testing cases:
bugs modalg_5(010) bug25886 - OK
http://occt-tests/CR25886-master-occt-64/Debian60-64/bugs/modalg_5/bug25886.html
http://occt-tests/CR25886-master-occt-64/Windows-64-VC10/bugs/modalg_5/bug25886.html

Testing on Linux:
Total MEMORY difference: 91545848 / 91903929
Total CPU difference: 56964.69000000013 / 59519.03999999998

Testing on Windows:
Total MEMORY difference: 57936908 / 57937384
Total CPU difference: 29173.828125 / 38673.234375
08Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]

Related records