[MOAB-dev] r4193 - MOAB/trunk/itaps/igeom

iulian at mcs.anl.gov iulian at mcs.anl.gov
Tue Oct 5 19:29:16 CDT 2010


Author: iulian
Date: 2010-10-05 19:29:16 -0500 (Tue, 05 Oct 2010)
New Revision: 4193

Modified:
   MOAB/trunk/itaps/igeom/SmoothCurveEval.cpp
   MOAB/trunk/itaps/igeom/SmoothCurveEval.hpp
   MOAB/trunk/itaps/igeom/iGeom_MOAB.cpp
Log:
the edges could be smooth too


Modified: MOAB/trunk/itaps/igeom/SmoothCurveEval.cpp
===================================================================
--- MOAB/trunk/itaps/igeom/SmoothCurveEval.cpp	2010-10-05 16:49:23 UTC (rev 4192)
+++ MOAB/trunk/itaps/igeom/SmoothCurveEval.cpp	2010-10-06 00:29:16 UTC (rev 4193)
@@ -7,13 +7,9 @@
 
 #include "SmoothCurveEval.hpp"
 //#include "SmoothVertex.hpp"
-//#include "CubitVector.hpp"
 #include "SmoothFaceEval.hpp"
-//#include "CAMALSizeEval.hpp"
+#include "assert.h"
 
-// the edge mesher from Camal; we do not really need it
-//#include "CMLEdgeMesher.hpp"
-
 #include "moab/GeomTopoTool.hpp"
 
 using namespace moab;
@@ -109,7 +105,6 @@
     //! \param x The x coordinate of the evaluated point
     //! \param y The y coordinate of the evaluated point
     //! \param z The z coordinate of the evaluated point
-#if 0
 bool SmoothCurveEval::position_from_u(double u,
                                double& x, double& y, double& z )
 {
@@ -138,7 +133,6 @@
 
 
 }
-#endif
     //! \brief Move a point near the curve to the closest point on the curve.
     //!
     //! \param x The x coordinate of the point
@@ -317,7 +311,7 @@
 
 		moab::CartVect chord = P[1]-P[0];
 		_leng+= chord.length();
-		//_fractions.push_back(_leng);
+		_fractions.push_back(_leng);
 		moab::CartVect N[2];
 
 
@@ -370,10 +364,10 @@
 		unsigned char used = 1;
 		_mb->tag_set_data(markTag, &edge, 1, &used);
 	}
-	/*// now divide fractions, to make them vary from 0 to 1
+	// now divide fractions, to make them vary from 0 to 1
 	assert(_leng>0.);


More information about the moab-dev mailing list