A shape is an object made from one or more curved or straight lines. A spline is a kind of a shape, based on a polynomial function.
A good example shape for study is the Donut plugin. This shape has two circles, an inner and an outer that make up the shape. The code for this plugin is in \MAXSDK\SAMPLES\OBJECTS\DONUT.CPP .