[cgma-dev] r2947 - cgm/trunk/itaps

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Tue Jun 16 17:18:07 CDT 2009


Author: kraftche
Date: 2009-06-16 17:18:06 -0500 (Tue, 16 Jun 2009)
New Revision: 2947

Modified:
   cgm/trunk/itaps/iGeom_CGMA.cc
Log:
fix broken iGeom closest point query

Modified: cgm/trunk/itaps/iGeom_CGMA.cc
===================================================================
--- cgm/trunk/itaps/iGeom_CGMA.cc	2009-06-16 17:21:18 UTC (rev 2946)
+++ cgm/trunk/itaps/iGeom_CGMA.cc	2009-06-16 22:18:06 UTC (rev 2947)
@@ -2020,7 +2020,7 @@
     ERROR(iBase_INVALID_ENTITY_TYPE, "Entities passed into gentityNormal must be faces.");
   }
   
-  CubitVector normal, near( near_x, near_y, near_x );
+  CubitVector normal, near( near_x, near_y, near_z );
   normal = face->normal_at( near );
   normal.get_xyz( *nmrl_i, *nmrl_j, *nmrl_k );
   RETURN(iBase_SUCCESS);



More information about the cgma-dev mailing list