[cgma-dev] r5254 - cgm/trunk/geom/OCC

jiangtao_ma at yahoo.com jiangtao_ma at yahoo.com
Fri Dec 9 09:25:36 CST 2011


Author: janehu
Date: 2011-12-09 09:25:36 -0600 (Fri, 09 Dec 2011)
New Revision: 5254

Modified:
   cgm/trunk/geom/OCC/OCCQueryEngine.cpp
Log:
Changed to print a warning when user expect a max edge length for get graphics function.

Modified: cgm/trunk/geom/OCC/OCCQueryEngine.cpp
===================================================================
--- cgm/trunk/geom/OCC/OCCQueryEngine.cpp	2011-12-09 14:35:07 UTC (rev 5253)
+++ cgm/trunk/geom/OCC/OCCQueryEngine.cpp	2011-12-09 15:25:36 UTC (rev 5254)
@@ -260,7 +260,7 @@
   if (!g_mem)
       return CUBIT_SUCCESS;
 
-  if(max_edge_length == 0.0)
+  if(max_edge_length > get_sme_resabs_tolerance())
   {
     PRINT_WARNING("OCC surface's tessilation doesn't consider edge_length.\n");
     PRINT_WARNING("max_edge_length argument is ignored. \n");








































More information about the cgma-dev mailing list