View Issue Details

IDProjectCategoryView StatusLast Update
0033192CommunityOCCT:Modeling Algorithmspublic2022-11-11 09:55
Reporterxuzhongxing Assigned Tobugmaster  
Status feedbackResolutionopen 
PlatformLinuxOSUbuntu 20.04 
Product Version7.6.0 
Summary0033192: Extrema_ExtElC::PlanarLineCircleExtrema() should return false at the second return
DescriptionIn Extrema_ExtElC::PlanarLineCircleExtrema(), at the second "return":

if (!myDone)
    return Standard_True;

Should it return Standard_False?
Steps To ReproduceI spotted this bug by reviewing the code. No testing has been done.
TagsNo tags attached.
Test case number



2022-11-11 07:16

reporter   ~0112002

I took another close look at the logic. The planar calculation will never fail.

And if it failed, returning true would terminate Extrema_ExtElC() early, which is correct.


2022-11-11 07:17

reporter   ~0112003

This issue can be closed.

Issue History

Date Modified Username Field Change
2022-11-07 06:35 xuzhongxing New Issue
2022-11-07 06:35 xuzhongxing Assigned To => msv
2022-11-11 07:16 xuzhongxing Note Added: 0112002
2022-11-11 07:17 xuzhongxing Note Added: 0112003
2022-11-11 09:55 msv Assigned To msv => bugmaster
2022-11-11 09:55 msv Status new => feedback