[cgma-dev] iGeom::reflectEnt signature
Jane Hu
janejhu at gmail.com
Fri Nov 22 10:43:03 CST 2013
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 <wilsonp at engr.wisc.edu> 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 ~ 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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/cgma-dev/attachments/20131122/67d758b6/attachment-0001.html>
More information about the cgma-dev
mailing list