Archived issue #0033304
Modeling Data - Floating point signal when converting a B-spline curve to analytical form
Description
The static function ConicDefinition defined in the file GeomConvert_CurveToAnaCurve.cxx causes floating point exception, when calling sqrt with negative argument, when converting the attached B-spline curve to analytical form.
Steps to reproduce
binrestore Attachment 1 (BBREP) a
mkcurve c a
tocanon r c
#An exception was caught [revision removed] : Standard_NumericError: FLT INVALID OPERATION
mkcurve c a
tocanon r c
#An exception was caught [revision removed] : Standard_NumericError: FLT INVALID OPERATION
Public activity
7 archived notes
Participants are labeled by their role within this record.
The file to reproduce. It has been also put in the model repository.
Attachment 1 (BBREP) (491 bytes)
Branch [archived branch] has been created by Author.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Tue Dec 27 22:19:11 2022 +0300
0033304: Modeling Data - Floating point signal when converting a B-spline curve to analytical form
Protect the static function ConicDefinition from calling sqrt with negative argument.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Tue Dec 27 22:19:11 2022 +0300
0033304: Modeling Data - Floating point signal when converting a B-spline curve to analytical form
Protect the static function ConicDefinition from calling sqrt with negative argument.
Branch CR33304 is ready for review.
No remarks.
Please integrate branch:
OCCT - CR33304
Please integrate branch:
OCCT - CR33304
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]