X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Face.h;h=c50e980d03e55e67be44bdd12626504e53b6d3e2;hb=f60dc9dd94d5d4b0ea07e3e3cbfd5b3028f0942d;hp=477b91b9007c52a6674ddfab2bab306afae58ff3;hpb=1c3738ae81b02ba62136ac03a53a81a532b95141;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Face.h b/src/GeomAPI/GeomAPI_Face.h index 477b91b90..c50e980d0 100644 --- a/src/GeomAPI/GeomAPI_Face.h +++ b/src/GeomAPI/GeomAPI_Face.h @@ -24,6 +24,10 @@ #include class GeomAPI_Pln; +class GeomAPI_Sphere; +class GeomAPI_Cylinder; +class GeomAPI_Cone; +class GeomAPI_Torus; /**\class GeomAPI_Face * \ingroup DataModel @@ -51,6 +55,21 @@ public: /// Returns the base plane of the face (if it is planar) with location in the center of the face GEOMAPI_EXPORT std::shared_ptr getPlane() const; + + /// Returns sphere if the face is based on the spherical surface + GEOMAPI_EXPORT std::shared_ptr getSphere() const; + + /// Returns cylinder if the face is based on the cylindrical surface + GEOMAPI_EXPORT std::shared_ptr getCylinder() const; + + /// Returns cone if the face is based on the conical surface + GEOMAPI_EXPORT std::shared_ptr getCone() const; + + /// Returns torus if the face is based on the toroidal surface + GEOMAPI_EXPORT std::shared_ptr getTorus() const; + + /// Return inner point in the face + GEOMAPI_EXPORT virtual std::shared_ptr middlePoint() const; }; //! Pointer on attribute object