1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: GeomAPI_Curve.hxx
4 // Created: 04 Sep 2014
5 // Author: Mikhail PONIKAROV
7 #ifndef GeomAPI_Curve_H_
8 #define GeomAPI_Curve_H_
10 #include <GeomAPI_Shape.h>
13 /**\class GeomAPI_Curve
15 * \brief Interface to the generic curve object
18 class GEOMAPI_EXPORT GeomAPI_Curve : public GeomAPI_Interface
21 /// Creation of empty (null) shape
24 /// Creates a curve from the shape (edge)
25 GeomAPI_Curve(const std::shared_ptr<GeomAPI_Shape>& theShape);
27 /// Returns true if curve is not initialized
30 /// Returns whether the curve is linear
31 virtual bool isLine() const;
33 /// Returns whether the curve is circular
34 virtual bool isCircle() const;