[cgma-dev] r2833 - cgm/trunk/geom
jiangtao_ma at yahoo.com
jiangtao_ma at yahoo.com
Fri Apr 17 09:49:59 CDT 2009
Author: janehu
Date: 2009-04-17 09:49:59 -0500 (Fri, 17 Apr 2009)
New Revision: 2833
Modified:
cgm/trunk/geom/RefFace.cpp
cgm/trunk/geom/RefFace.hpp
Log:
Added the code for is_closed_in_ V or U direction for RefFaces.
Modified: cgm/trunk/geom/RefFace.cpp
===================================================================
--- cgm/trunk/geom/RefFace.cpp 2009-04-17 13:49:20 UTC (rev 2832)
+++ cgm/trunk/geom/RefFace.cpp 2009-04-17 14:49:59 UTC (rev 2833)
@@ -1640,6 +1640,14 @@
normal_tolerance, distance_tolerance, longest_edge );
}
+CubitBoolean RefFace::is_closed_in_U()
+{
+ Surface* surface_ptr = get_surface_ptr();
+ return surface_ptr->is_closed_in_U();
+}
-
-
+CubitBoolean RefFace::is_closed_in_V()
+{
+ Surface* surface_ptr = get_surface_ptr();
+ return surface_ptr->is_closed_in_V();
+}
Modified: cgm/trunk/geom/RefFace.hpp
===================================================================
--- cgm/trunk/geom/RefFace.hpp 2009-04-17 13:49:20 UTC (rev 2832)
+++ cgm/trunk/geom/RefFace.hpp 2009-04-17 14:49:59 UTC (rev 2833)
@@ -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