Salome HOME
Remove unnecessary dependency on VTK from GEOM engine
[modules/geom.git] / src / GEOMUtils / GEOMUtils.hxx
index b673ea8078d6edd9e7374919fcce25e14058178f..d8a8399407cfa7946ea475c79f2374ed51d21923 100644 (file)
@@ -312,6 +312,22 @@ namespace GEOMUtils
    * \retval TopoDS_Shape resulting shape
    */
   Standard_EXPORT TopoDS_Shape ReduceCompound( const TopoDS_Shape& shape );
+
+  /*!
+   * \brief Generate triangulation for the shape.
+   *
+   * \param shape shape being meshed
+   * \param deflection deflection coefficient to be used
+   * \param forced if \c true, causes generation of mesh regardless it is already present in the shape
+   */
+  Standard_EXPORT void MeshShape( const TopoDS_Shape shape,
+                                  double deflection, bool forced = true );
+
+  /*!
+   * \brief Get default deflection coefficient used for triangulation
+   * \return default deflection value
+   */
+  Standard_EXPORT double DefaultDeflection();
 };
 
 #endif