Defined in File shape_operations.h
Construct the shape that corresponds to the message. Return NULL on failure.