Salome HOME
CMake: rollback of previous changes
[modules/smesh.git] / src / SMESH / SMESH_Algo.hxx
index a7cfd5fd0a1438f1c48df7b2d9323f7518cb1360..0208934b862ade5b5c9d3c50e2a8d94435cea35c 100644 (file)
@@ -357,6 +357,14 @@ public:
   static bool IsContinuous(const TopoDS_Edge & E1, const TopoDS_Edge & E2) {
     return ( Continuity( E1, E2 ) >= GeomAbs_G1 );
   }
+  /*!
+   * \brief Return true if an edge can be considered straight
+   */
+  static bool isStraight( const TopoDS_Edge & E, const bool degenResult=false );
+  /*!
+   * \brief Return true if an edge has no 3D curve
+   */
+  static bool isDegenerated( const TopoDS_Edge & E );
 
   /*!
    * \brief Return the node built on a vertex