Bundles any shapes into one compound so they can be handled as a single shape.
The shapes are not joined or fused; they simply travel together.
The shapes to bundle
The compound holding them
Takes a compound apart into the shapes it was made of, in the order they were added.
The compound
The shapes inside it
Compounds in OpenCascade: a loose collection of shapes of any kind kept together as one shape, so a set of parts can be moved, drawn or exported in one go. The shapes stay separate inside; a compound does not fuse them.
shapes.shapeand the getters on the other shape classes take a compound apart again.