X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Circ.h;h=625ca3895b0a677dc6d652a611e6bb383d3f479b;hb=bdbfb368d71ed11cc0391354a7d86c880cd94949;hp=3791071dd0e35890be5ba40bfa916de0294b32cc;hpb=caf028355772b8ed5cd35a400a879d009df7968b;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Circ.h b/src/GeomAPI/GeomAPI_Circ.h index 3791071dd..625ca3895 100644 --- a/src/GeomAPI/GeomAPI_Circ.h +++ b/src/GeomAPI/GeomAPI_Circ.h @@ -42,6 +42,9 @@ class GeomAPI_Circ : public GeomAPI_Interface /// Return radius of the circle GEOMAPI_EXPORT double radius() const; + /// Return orthogonal direction to the circle's plane + GEOMAPI_EXPORT std::shared_ptr normal() const; + /// Project point on circle GEOMAPI_EXPORT const std::shared_ptr project( const std::shared_ptr& thePoint) const; @@ -51,8 +54,9 @@ class GeomAPI_Circ : public GeomAPI_Interface * at a distance less than the tolerance value. Return FALSE if the point * is beyond the tolerance limit or if computation fails. * Max Tolerance value is currently limited to 1.e-4 - * \param[in] theOrigin point of origin. - * \param[in] theDir direction of axis. + * \param[in] thePoint point of origin. + * \param[in] theTolerance tolerance of computation. + * \param[out] theParameter resulting parameter. */ GEOMAPI_EXPORT const bool parameter(const std::shared_ptr thePoint, const double theTolerance,