DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0026918

GeomLib_CheckCurveOnSurface cannot compute distance if 3D-curve is periodic

Open CASCADEOCCT:Modeling Algorithmsclosed8 public notes

Search issues

Description

The reason is in the method GeomLib_CheckCurveOnSurface::Perform(...).

Check

  if( (myCurve->FirstParameter() > myFirst) ||
      (myCurve->LastParameter() < myLast) ||
      (thePCurve->FirstParameter() > myFirst) ||
      (thePCurve->LastParameter() < myLast))
  {
    myErrorStatus = 2;
    return;
  }

Sometimes, on periodic curves this condition returns TRUE (see Steps To Reproduce).

Steps to reproduce

test bugs modalg_2 bug22967
explode result f
explode result_1 e

xdistef result_1_1 result_1
#Tolerance cannot be computed

explode result_2 e
xdistef result_2_3 result_2
#Tolerance cannot be computed

explode result_3 e
xdistef result_3_2 result_3
#Tolerance cannot be computed

xdistef result_3_3 result_3
#Tolerance cannot be computed

explode result_4 e
xdistef result_4_1 result_4
#Tolerance cannot be computed

explode result_5 e
xdistef result_5_1 result_5
#Tolerance cannot be computed

Public activity

8 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Dear Mikhail,

The problem is not reproduced on the current MASTER.
02Commenter 2
Please create test case.
03Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Tue Apr 12 18:16:00 2016 +0300

    0026918: GeomLib_CheckCurveOnSurface cannot compute distance if 3D-curve is periodic
    
    Creation of test case for this issue.
04Commenter 4
Dear Mikhail,

Please review CR26918 branch.
05Commenter 5
Reviewed.
Dear Commenter 1, please check the test case and integrate.
06Commenter 6
Dear Commenter 1,
following test case is good

bugs modalg_2 bug22967: BAD (known problem)
07Commenter 7
Dear Commenter 1,
Branch CR26918 is TESTED.
08Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]