Archived issue #0026918
GeomLib_CheckCurveOnSurface cannot compute distance if 3D-curve is periodic
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).
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
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.
Dear Mikhail,
The problem is not reproduced on the current MASTER.
The problem is not reproduced on the current MASTER.
Please create test case.
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.
[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.
Dear Mikhail,
Please review CR26918 branch.
Please review CR26918 branch.
Reviewed.
Dear Commenter 1, please check the test case and integrate.
Dear Commenter 1, please check the test case and integrate.
Dear Commenter 1,
following test case is good
bugs modalg_2 bug22967: BAD (known problem)
following test case is good
bugs modalg_2 bug22967: BAD (known problem)
Dear Commenter 1,
Branch CR26918 is TESTED.
Branch CR26918 is TESTED.
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]