<div dir="ltr">Hi, Paul:<div><br></div><div>This change is due to cubit change from 12.2 to 13.1. Before it was assumed to reflect against a plane crossing origin, and now it allows to reflect any plane crossing any given point with any given plane direction.</div>
<div><br></div><div>You just need to give the point as (0,0,0) to let the previous passed tests to run against cgm13.1 and above.</div><div><br></div><div>Hope it helps.</div><div><br></div><div>Jane</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Nov 21, 2013 at 4:30 PM, Paul Wilson <span dir="ltr"><<a href="mailto:wilsonp@engr.wisc.edu" target="_blank">wilsonp@engr.wisc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi there,<br>
<br>
I'm trying to build a tool that used to work against CGM using the iGeom interface. It uses the reflectEnt method.<br>
<br>
As of r5781, the reflectEnt signature in iGeom.h has changed to require 2 sets of x,y,z points, but the documentation is not clear about what these mean. I'm happy to update my app to this new signature but can't find a definition of what is expected.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
3402 jvporter /**\brief Reflect an entity across a plane<br>
3402 jvporter *<br>
3402 jvporter * Reflect an entity across the given plane<br>
3402 jvporter * \param instance iGeom instance handle<br>
3402 jvporter * \param geom_entity the entity to reflect<br>
3402 jvporter * \param plane_normal_x x coordinate of the plane's normal<br>
3402 jvporter * \param plane_normal_y y coordinate of the plane's normal<br>
3402 jvporter * \param plane_normal_z z coordinate of the plane's normal<br>
3402 jvporter * \param *err Pointer to error type returned from function<br>
3402 jvporter */<br>
3402 jvporter void iGeom_reflectEnt( iGeom_Instance instance,<br>
2617 kraftche iBase_EntityHandle geom_entity,<br>
5781 janehu double point_x,<br>
5781 janehu double point_y,<br>
5781 janehu double point_z,<br>
1638 tautges double plane_normal_x,<br>
1638 tautges double plane_normal_y,<br>
1638 tautges double plane_normal_z,<br>
1638 tautges int* err );<br>
1096 kraftche<br>
</blockquote>
<br>
Any guidance is appreciated.<br>
<br>
Thanks,<br>
Paul<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
-- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ --<br>
Paul Wilson ~ UW-Madison ~ <a href="tel:608-263-0807" value="+16082630807" target="_blank">608-263-0807</a> ~ cal: <a href="http://bit.ly/pphw-cal" target="_blank">http://bit.ly/pphw-cal</a><br>
Professor, Engineering Physics. ~ <a href="http://cnerg.engr.wisc.edu" target="_blank">http://cnerg.engr.wisc.edu</a><br>
Faculty Director, Advanced Computing Infrastructure<br>
<br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Jane Hu<br>
<br>
Asst. Researcher<br>
Dept. of Engineering Physics<br>
UW @ Madison<br>
<br>
"And we know that for those who love God, that is, for those who are
called according to his purpose, all things are working together for
good." (Romans 8:28)
</div>