Re: [cgma-dev] iGeom::reflectEnt signature
Hi Jane, That's just the info I needed. Thanks! Paul On 11/22/2013 10:43 AM, Jane Hu wrote:
Hi, Paul:
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.
You just need to give the point as (0,0,0) to let the previous passed tests to run against cgm13.1 and above.
Hope it helps.
Jane
On Thu, Nov 21, 2013 at 4:30 PM, Paul Wilson <[email protected] <mailto:[email protected]>> wrote:
Hi there,
I'm trying to build a tool that used to work against CGM using the iGeom interface. It uses the reflectEnt method.
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.
3402 jvporter /**\brief Reflect an entity across a plane 3402 jvporter * 3402 jvporter * Reflect an entity across the given plane 3402 jvporter * \param instance iGeom instance handle 3402 jvporter * \param geom_entity the entity to reflect 3402 jvporter * \param plane_normal_x x coordinate of the plane's normal 3402 jvporter * \param plane_normal_y y coordinate of the plane's normal 3402 jvporter * \param plane_normal_z z coordinate of the plane's normal 3402 jvporter * \param *err Pointer to error type returned from function 3402 jvporter */ 3402 jvporter void iGeom_reflectEnt( iGeom_Instance instance, 2617 kraftche iBase_EntityHandle geom_entity, 5781 janehu double point_x, 5781 janehu double point_y, 5781 janehu double point_z, 1638 tautges double plane_normal_x, 1638 tautges double plane_normal_y, 1638 tautges double plane_normal_z, 1638 tautges int* err ); 1096 kraftche
Any guidance is appreciated.
Thanks, Paul
-- -- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -- Paul Wilson ~ UW-Madison ~ 608-263-0807 <tel:608-263-0807> ~ cal: http://bit.ly/pphw-cal Professor, Engineering Physics. ~ http://cnerg.engr.wisc.edu Faculty Director, Advanced Computing Infrastructure
-- Jane Hu
Asst. Researcher Dept. of Engineering Physics UW @ Madison
"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)
-- -- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -- Paul Wilson ~ UW-Madison ~ 608-263-0807 ~ cal: http://bit.ly/pphw-cal Professor, Engineering Physics. ~ http://cnerg.engr.wisc.edu Faculty Director, Advanced Computing Infrastructure
participants (1)
-
Paul Wilson