1 // File: Extrema_CurveTool.cxx
2 // Created: Wed Jul 19 09:00:02 1995
3 // Author: Modelistation
7 #include <Extrema_CurveTool.ixx>
9 //=======================================================================
10 //function : IsPeriodic
12 //=======================================================================
14 Standard_Boolean Extrema_CurveTool::IsPeriodic(const Adaptor3d_Curve& C)
16 GeomAbs_CurveType aType = GetType(C);
17 if (aType == GeomAbs_Circle ||
18 aType == GeomAbs_Ellipse)
21 return C.IsPeriodic();