Archived issue #0023017
gp_Hyper empty constructor raise exception
Description
the gp_Hypr() empty constructor
inline gp_Hypr::gp_Hypr () :
majorRadius(RealLast()),
minorRadius(RealFirst())
{ }
has a problem in its minorRadius(RealFirst()) setter
i think it might be minorRadius(RealLast()) as in the gp_Hypr2d() empty constructor
inline gp_Hypr::gp_Hypr () :
majorRadius(RealLast()),
minorRadius(RealFirst())
{ }
has a problem in its minorRadius(RealFirst()) setter
i think it might be minorRadius(RealLast()) as in the gp_Hypr2d() empty constructor
Steps to reproduce
gp_Hyper h1;
Additional information
i think either gp_Hypr() or gp_Hypr2d() have a problem in their empty constructor
Public activity
3 archived notes
Participants are labeled by their role within this record.
this problem appears when you create
gp_Hypr hy1 = gp_Hypr();
Geom_Hyperbola h1 = Geom_Hyperbola(hy1);
gp_Hypr temp = h1.Hypr();
gp_Hypr hy1 = gp_Hypr();
Geom_Hyperbola h1 = Geom_Hyperbola(hy1);
gp_Hypr temp = h1.Hypr();
Dear MSV,
could you put your opinion about it.
could you put your opinion about it.
Dear MKV, please create a test case if it is reproduced.