[MOAB-dev] r1864 - MOAB/trunk

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Thu May 29 15:50:31 CDT 2008


Author: kraftche
Date: 2008-05-29 15:50:30 -0500 (Thu, 29 May 2008)
New Revision: 1864

Modified:
   MOAB/trunk/MBGeomUtil.cpp
Log:
fix incorrect comments

Modified: MOAB/trunk/MBGeomUtil.cpp
===================================================================
--- MOAB/trunk/MBGeomUtil.cpp	2008-05-29 20:06:23 UTC (rev 1863)
+++ MOAB/trunk/MBGeomUtil.cpp	2008-05-29 20:50:30 UTC (rev 1864)
@@ -386,7 +386,7 @@
       // where v1 and v0 are edge vertices.
     cross[0] = elem_corners[indices[0]][2] - elem_corners[indices[1]][2];
     cross[1] = elem_corners[indices[1]][1] - elem_corners[indices[0]][1];
-      // skip if orthogonal
+      // skip if parallel
     if ((cross[0]*cross[0] + cross[1]*cross[1]) >= std::numeric_limits<double>::epsilon()) {
       dot = fabs(cross[0] * dims[1]) + fabs(cross[1] * dims[2]);
       all_less = all_greater = true;
@@ -408,7 +408,7 @@
       // where v1 and v0 are edge vertices.
     cross[0] = elem_corners[indices[0]][0] - elem_corners[indices[1]][0];
     cross[1] = elem_corners[indices[1]][2] - elem_corners[indices[0]][2];
-      // skip if orthogonal
+      // skip if parallel
     if ((cross[0]*cross[0] + cross[1]*cross[1]) >= std::numeric_limits<double>::epsilon()) {
       dot = fabs(cross[0] * dims[2]) + fabs(cross[1] * dims[0]);
       all_less = all_greater = true;
@@ -430,7 +430,7 @@
       // where v1 and v0 are edge vertices.
     cross[0] = elem_corners[indices[0]][1] - elem_corners[indices[1]][1];
     cross[1] = elem_corners[indices[1]][0] - elem_corners[indices[0]][0];
-      // skip if orthogonal
+      // skip if parallel
     if ((cross[0]*cross[0] + cross[1]*cross[1]) >= std::numeric_limits<double>::epsilon()) {
       dot = fabs(cross[0] * dims[0]) + fabs(cross[1] * dims[1]);
       all_less = all_greater = true;




More information about the moab-dev mailing list