Salome HOME
Issue #1660: Ability to change the deflection coefficient
[modules/shaper.git] / src / GeomAPI / GeomAPI_AISObject.h
index 18fd8fa94ff576a38c69d0048d96d3996c088419..1030aa06b278050920d546d74d4ccbc27fd51ed9 100644 (file)
@@ -122,6 +122,18 @@ class GeomAPI_AISObject : public GeomAPI_Interface
   GEOMAPI_EXPORT 
   void getColor(int& theR, int& theG, int& theB);
 
+  /** \brief Assigns the deflection to the shape
+   *  \param[in] theDeflection value of deflection
+   */
+  GEOMAPI_EXPORT 
+  bool setDeflection(const double theDeflection);
+
+  /** \brief Returns deflection for the shape
+   *  \return double value
+   */
+  GEOMAPI_EXPORT 
+  double getDeflection() const;
+
   /// \return Current width of the lines of shape
   GEOMAPI_EXPORT 
   double width();