mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-16 10:08:36 +03:00
0022692: A wrong function is called inside the Extrema_CurveTool::IsRational
This commit is contained in:
parent
9e9df9d90e
commit
a569e8a002
@ -207,7 +207,7 @@ inline gp_Parab Extrema_CurveTool::Parabola(const Adaptor3d_Curve& C)
|
|||||||
|
|
||||||
inline Standard_Boolean Extrema_CurveTool::IsRational(const Adaptor3d_Curve& C)
|
inline Standard_Boolean Extrema_CurveTool::IsRational(const Adaptor3d_Curve& C)
|
||||||
{
|
{
|
||||||
return C.Degree();
|
return C.IsRational();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user