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

jvporter at wisc.edu jvporter at wisc.edu
Tue Feb 1 13:48:28 CST 2011


Author: jvporter
Date: 2011-02-01 13:48:28 -0600 (Tue, 01 Feb 2011)
New Revision: 4479

Modified:
   cgm/trunk/itaps/iGeom.h
   cgm/trunk/itaps/iGeom_CGMA.cc
Log:
Make iGome's num_hops work like iMesh's.


Modified: cgm/trunk/itaps/iGeom.h
===================================================================
--- cgm/trunk/itaps/iGeom.h	2011-01-31 21:34:50 UTC (rev 4478)
+++ cgm/trunk/itaps/iGeom.h	2011-02-01 19:48:28 UTC (rev 4479)
@@ -2819,11 +2819,11 @@
      * Get the number of entity sets contained in a set or interface.  If
      * a set is input which is not the root set, num_hops indicates the 
      * maximum number of contained sets from entity_set_handle to one of the
-     * contained sets, inclusive of the contained set.
+     * contained sets, not inclusive of the contained set.
      * \param instance iGeom instance handle
      * \param entity_set_handle Entity set being queried
      * \param num_hops Maximum hops from entity_set_handle to contained set,
-     *        inclusive of the contained set
+     *        not inclusive of the contained set
      * \param num_sets Pointer to the number of sets returned from function
      * \param *err Pointer to error type returned from function
      */
@@ -2838,11 +2838,11 @@
      * Get the entity sets contained in a set or interface.  If
      * a set is input which is not the root set, num_hops indicates the 
      * maximum number of contained sets from entity_set_handle to one of the
-     * contained sets, inclusive of the contained set.
+     * contained sets, not inclusive of the contained set.
      * \param instance iGeom instance handle
      * \param entity_set_handle Entity set being queried
      * \param num_hops Maximum hops from entity_set_handle to contained set,
-     *        inclusive of the contained set
+     *        not inclusive of the contained set
      * \param *contained_set_handles Pointer to array of set handles returned
      *        from function
      * \param contained_set_handles_allocated Pointer to allocated length of
@@ -3041,12 +3041,12 @@
     /**\brief  Get the number of child sets linked from a specified set
      *
      * Get the number of child sets linked from a specified set.  If num_hops
-     * is non-zero, this represents the maximum hops from entity_set to any
+     * is not -1, this represents the maximum hops from entity_set to any
      * child in the count.
      * \param instance iGeom instance handle
      * \param entity_set Entity set being queried
      * \param num_hops Maximum hops from entity_set_handle to child set,
-     *        inclusive of the child set
+     *        not inclusive of the child set
      * \param num_child Pointer to number of children returned from function
      * \param *err Pointer to error type returned from function
      */
@@ -3059,12 +3059,12 @@
     /**\brief  Get the number of parent sets linked from a specified set
      *
      * Get the number of parent sets linked from a specified set.  If num_hops


More information about the cgma-dev mailing list