Salome HOME
Refs #289 - Spline profile is represented in OCC view as polyline profile
[modules/hydro.git] / src / HYDROCurveCreator / CurveCreator_Utils.h
index f7691c0dd78896b9f7bdfb2391d61a2701a63b73..0cf2364da527f89f0bc1dbe20e233307dd90a5be 100644 (file)
@@ -145,6 +145,15 @@ protected:
                                                  const int theOtherX, const int theOtherY,
                                                  const double theTolerance, int& theDelta );
 
+
+  /*
+   * Returns whether the points are the same
+   * \param thePoint the first point
+   * \param theOtherPoint the second point
+   * \returns whether the points are provide to the pixel tolerance
+  */
+  CURVECREATOR_EXPORT static bool isEqualPoints( const gp_Pnt& thePoint,
+                                                 const gp_Pnt& theOtherPoint );
 };
 
 #endif // CURVECREATOR_UTILS_H