blob: ac905802fc30e496789793d1fac8260dfdfb40c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// File: Extrema_CurveTool.cxx
// Created: Wed Jul 19 09:00:02 1995
// Author: Modelistation
// <model@metrox>
#include <Extrema_CurveTool.ixx>
//=======================================================================
//function : IsPeriodic
//purpose :
//=======================================================================
Standard_Boolean Extrema_CurveTool::IsPeriodic(const Adaptor3d_Curve& C)
{
GeomAbs_CurveType aType = GetType(C);
if (aType == GeomAbs_Circle ||
aType == GeomAbs_Ellipse)
return Standard_True;
else
return C.IsPeriodic();
}
|