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

jiangtao_ma at yahoo.com jiangtao_ma at yahoo.com
Fri Apr 17 08:49:21 CDT 2009


Author: janehu
Date: 2009-04-17 08:49:20 -0500 (Fri, 17 Apr 2009)
New Revision: 2832

Modified:
   cgm/trunk/geom/Curve.cpp
   cgm/trunk/geom/RefFace.hpp
Log:
fix for nightly build.

Modified: cgm/trunk/geom/Curve.cpp
===================================================================
--- cgm/trunk/geom/Curve.cpp	2009-04-16 22:07:21 UTC (rev 2831)
+++ cgm/trunk/geom/Curve.cpp	2009-04-17 13:49:20 UTC (rev 2832)
@@ -217,12 +217,12 @@
                                           CubitVector& result )
 {
     // Get the untrimmed point
-  double param;
+  double param = -1;
   if ( !closest_point(from_pt, result, NULL, NULL, &param) )
     return CUBIT_FAILURE;  
   
   double param_range = 0.0;
-  double period, start_param, end_param;
+  double period = -1, start_param = -1, end_param = -1;
   
     // Get whether periodic
   CubitBoolean is_per = this->is_periodic(period);

Modified: cgm/trunk/geom/RefFace.hpp
===================================================================
--- cgm/trunk/geom/RefFace.hpp	2009-04-16 22:07:21 UTC (rev 2831)
+++ cgm/trunk/geom/RefFace.hpp	2009-04-17 13:49:20 UTC (rev 2832)
@@ -417,8 +417,8 @@
     //- Determines if the surface is singular in a given direction
     //- at a given parameter value.
 
-  CubitBoolean is_closed_in_U();  
-  CubitBoolean is_closed_in_V();
+  CubitBoolean is_closed_in_U(){};  
+  CubitBoolean is_closed_in_V(){};
     //R CubitBoolean
     //R- CUBIT_TRUE/CUBIT_FALSE
     //- Determines if the surface is closed, smoothly or not in the



More information about the cgma-dev mailing list