<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'>Hi Paul,<br>reflect and scale methods have an additional parameter, point. Jane added it;<br>When you reflect about a plane, the normal is not enough, to define a plane, a point is also needed (included in the plane)<br>Documentation is not clear, iGeom.h should have included it in the list of parameters.<br>this change follows a change in GeometryQueryTool::reflect method too, and it was first introduced for cubit 13.1.<br><br>In MeshKit, we are using a macro defined in iBase.h to differentiate the 2 versions, something like this:<br><br>#if IBASE_VERSION_GE(1,4,1)<br>        virtual inline Error reflectEnt(EntityHandle entity, double x,<br>                                double y, double z, double norm_x,<br>                                double norm_y, double norm_z);<br>        virtual inline Error scaleEnt(EntityHandle entity, double x,<br>                                double y, double z, double x_factor,<br>                double y_factor, double z_factor);<br>#else<br>        virtual inline Error reflectEnt(EntityHandle entity, double norm_x,<br>                double norm_y, double norm_z);<br>        virtual inline Error scaleEnt(EntityHandle entity, double x_factor,<br>                double y_factor, double z_factor);<br>#endif<br><br>So everything below itaps version 1.4.0 uses old signature;<br><br>Hope this helps,<br>Iulian<br><br><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">Hi there,<br><br>I'm trying to build a tool that used to work against CGM using the iGeom <br>interface.  It uses the reflectEnt method.<br><br>As of r5781, the reflectEnt signature in iGeom.h has changed to require <br>2 sets of x,y,z points, but the documentation is not clear about what <br>these mean.  I'm happy to update my app to this new signature but can't <br>find a definition of what is expected.<br><br>>   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 <br>> plane's normal<br>>   3402   jvporter      * \param plane_normal_y y coordinate of the <br>> plane's normal<br>>   3402   jvporter      * \param plane_normal_z z coordinate of the <br>> plane's normal<br>>   3402   jvporter      * \param *err Pointer to error type returned <br>> 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><br>Any guidance is appreciated.<br><br>Thanks,<br>Paul<br><br>-- <br>-- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ --<br>Paul Wilson ~ UW-Madison ~ 608-263-0807 ~ cal: http://bit.ly/pphw-cal<br>Professor, Engineering Physics. ~ http://cnerg.engr.wisc.edu<br>Faculty Director, Advanced Computing Infrastructure<br><br><br></blockquote><br></div></body></html>