Salome HOME
Merge branch 'BR_LAND_COVER_MAP' of ssh://git.salome-platform.org/modules/hydro into...
[modules/hydro.git] / src / HYDROData / HYDROData_TopoCurve.h
index 8d2bfddda8067dba771a44ba274524a0f1f8c3e6..1f1025d962d18ed73b574800265e116c4614285a 100644 (file)
@@ -68,7 +68,7 @@ public:
   //! Cuts the curve in the given parameter of the given edge and
   //! fills the cut part.
   //! Returns 'true' if:
-  //! -  the curve is open and was splitted into two parts or
+  //! -  the curve is open and was split into two parts or
   //! -  the curve is closed and was cut into an open curve.
   HYDRODATA_EXPORT bool Cut(
     const std::list<TopoDS_Edge>::iterator& theEdgePosition,
@@ -148,7 +148,7 @@ public:
     std::deque<HYDROData_TopoCurve>& theCurves)
   {
     HYDROData_TopoCurve aCurve;
-    if (!aCurve.Initialize(theWire))
+    if (aCurve.Initialize(theWire))
     {
       return aCurve.Connect(theTolerance, theCurves);
     }