1 // File: GeomAPI_Curve.hxx
2 // Created: 04 Sep 2014
3 // Author: Mikhail PONIKAROV
5 #ifndef GeomAPI_Curve_H_
6 #define GeomAPI_Curve_H_
8 #include <GeomAPI_Shape.h>
9 #include <boost/shared_ptr.hpp>
11 /**\class GeomAPI_Curve
13 * \brief Interface to the generic curve object
16 class GEOMAPI_EXPORT GeomAPI_Curve : public GeomAPI_Interface
19 /// Creation of empty (null) shape
22 /// Creates a curve from the shape (edge)
23 GeomAPI_Curve(const boost::shared_ptr<GeomAPI_Shape>& theShape);
25 /// Returns true if curve is not initialized
28 /// Returns whether the curve is linear
29 virtual bool isLine() const;
31 /// Returns whether the curve is circular
32 virtual bool isCircle() const;