// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or
+// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
//
#ifndef GeomAPI_Face_H_
#include <GeomAPI_Shape.h>
class GeomAPI_Pln;
+class GeomAPI_Sphere;
+class GeomAPI_Cylinder;
+class GeomAPI_Cone;
+class GeomAPI_Torus;
/**\class GeomAPI_Face
* \ingroup DataModel
/// 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;
+
+ /// Returns sphere if the face is based on the spherical surface
+ GEOMAPI_EXPORT std::shared_ptr<GeomAPI_Sphere> getSphere() const;
+
+ /// Returns cylinder if the face is based on the cylindrical surface
+ GEOMAPI_EXPORT std::shared_ptr<GeomAPI_Cylinder> getCylinder() const;
+
+ /// Returns cone if the face is based on the conical surface
+ GEOMAPI_EXPORT std::shared_ptr<GeomAPI_Cone> getCone() const;
+
+ /// Returns torus if the face is based on the toroidal surface
+ GEOMAPI_EXPORT std::shared_ptr<GeomAPI_Torus> getTorus() const;
+
+ /// Return inner point in the face
+ GEOMAPI_EXPORT virtual std::shared_ptr<GeomAPI_Pnt> middlePoint() const;
};
+//! Pointer on attribute object
+typedef std::shared_ptr<GeomAPI_Face> GeomFacePtr;
+
#endif