0026799: NCollection_Array2's RowLength and ColLength return wrong value.
[occt.git] / src / NCollection / NCollection_Array2.hxx
index c03181f..c298d9e 100644 (file)
@@ -140,10 +140,11 @@ public:
   Standard_Integer Length (void) const
   { return RowLength() * ColLength(); }
 
-  //! RowLength 
+  //! Returns length of the row, i.e. number of columns
   Standard_Integer RowLength (void) const
   { return (myUpperCol-myLowerCol+1); }
-  //! ColLength 
+
+  //! Returns length of the column, i.e. number of rows
   Standard_Integer ColLength (void) const
   { return (myUpperRow-myLowerRow+1); }