0028724: Extrema between circle and plane cannot be found
[occt.git] / src / Geom2dAdaptor / Geom2dAdaptor_Curve.cxx
index 389cdce..e4a3074 100644 (file)
@@ -530,10 +530,7 @@ Standard_Boolean Geom2dAdaptor_Curve::IsClosed() const
 
 Standard_Boolean Geom2dAdaptor_Curve::IsPeriodic() const 
 {
-  if (myCurve->IsPeriodic())
-    return IsClosed();
-  else
-    return Standard_False;
+  return myCurve->IsPeriodic();
 }
 
 //=======================================================================