Union
The Union method modifies this shape to be the union of this shape and the specified shape.
ODShape Union (in ODShape unionShape);
unionShape
- A reference to the shape to be unioned with this shape.
- return value
- A reference to this shape after the union operation.
DISCUSSION
After this method executes successfully, this shape is equivalent to the union of its previous shape and the specified shape.
EXCEPTIONS
kODErrNoShapeGeometry
- The geometry mode of this shape is
kODNeedsGeometry, but the other shape has no geometric representation.
kODErrOutOfMemory
- There is not enough memory to compute the union.