[cgma-dev] r2840 - cgm/trunk/geom

jiangtao_ma at yahoo.com jiangtao_ma at yahoo.com
Fri Apr 17 15:11:11 CDT 2009


Author: janehu
Date: 2009-04-17 15:11:06 -0500 (Fri, 17 Apr 2009)
New Revision: 2840

Modified:
   cgm/trunk/geom/Curve.cpp
Log:
Change back to the previous version.

Modified: cgm/trunk/geom/Curve.cpp
===================================================================
--- cgm/trunk/geom/Curve.cpp	2009-04-17 20:00:37 UTC (rev 2839)
+++ cgm/trunk/geom/Curve.cpp	2009-04-17 20:11:06 UTC (rev 2840)
@@ -217,12 +217,12 @@
                                           CubitVector& result )
 {
     // Get the untrimmed point
-  double param = -1;
+  double param;
   if ( !closest_point(from_pt, result, NULL, NULL, &param) )
     return CUBIT_FAILURE;  
   
   double param_range = 0.0;
-  double period = -1, start_param = -1, end_param = -1;
+  double period, start_param, end_param;
   
     // Get whether periodic
   CubitBoolean is_per = this->is_periodic(period);



More information about the cgma-dev mailing list