Salome HOME
Issue #2059 point in sketch is created not on selected line of external sketchPlane...
[modules/shaper.git] / src / GeomAPI / GeomAPI_Circ.h
index 3791071dd0e35890be5ba40bfa916de0294b32cc..625ca3895b0a677dc6d652a611e6bb383d3f479b 100644 (file)
@@ -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<GeomAPI_Dir> normal() const;
+
   /// Project point on circle
   GEOMAPI_EXPORT const std::shared_ptr<GeomAPI_Pnt> project(
       const std::shared_ptr<GeomAPI_Pnt>& 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<GeomAPI_Pnt> thePoint,
                                       const double theTolerance,