VI.2.3 Group class
Most methods of the “Group” class are exactly the same as the ones defined in the Group
class of ruby extension (Chapter I.3). Several methods or properties are different however:
- The iterators are now “iter_element”, “iter_rbe”, “iter_node” and “iter_coordsys” instead
of “each_element”, “each_rbe”, “each_node” and “each_coordsys”.
- The four operators “+”, “-”, “*” and “/” are replaced by the methods “opAdd”, “opSub”,
“opMul” and “opDiv” respectively.
- The “toBlob” and “fromBlob” methods deal with Array of Bytes (unsigned char) instead
of Strings in the ruby extension.
- The “makeCopy” method that returns a copy of the object.