mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03:00
0022692: A wrong function is called inside the Extrema_CurveTool::IsRational
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
Reference in New Issue
Block a user