Salome HOME
Issue #1664: In the Sketcher, add the function Split a segment. Correction of circle...
[modules/shaper.git] / src / GeomAPI / GeomAPI_Face.h
index c070bf20a4dd5db7da0e6cb537d880b074d3a86f..c47bc036aff475045e083f65eacc0009ca71bab1 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 // File:        GeomAPI_Face.h
 // Created:     2 Dec 2014
 // Author:      Artem ZHIDKOV
@@ -13,22 +15,27 @@ class GeomAPI_Pln;
 * \ingroup DataModel
  * \brief Interface to the face object
  */
-class GEOMAPI_EXPORT GeomAPI_Face : public GeomAPI_Shape
+class GeomAPI_Face : public GeomAPI_Shape
 {
 public:
   /// Creation of empty (null) shape
+  GEOMAPI_EXPORT 
   GeomAPI_Face();
 
   /// Creation of face by the face-shape
+  GEOMAPI_EXPORT 
   GeomAPI_Face(const std::shared_ptr<GeomAPI_Shape>& theShape);
 
   /// Returns true if the current face is geometrically equal to the given face
+  GEOMAPI_EXPORT 
   virtual bool isEqual(const std::shared_ptr<GeomAPI_Shape> theFace) const;
 
-  /// Returns true if the face is a planar face
-  bool isPlanar() const;
+  /// Returns true if the face is a cylindrical face
+  GEOMAPI_EXPORT 
+  bool isCylindrical() const;
 
   /// Returns the base plane of the face (if it is planar) with location in the center of the face
+  GEOMAPI_EXPORT 
   std::shared_ptr<GeomAPI_Pln> getPlane() const;
 };