@classmethod<EOL><INDENT>def cast(cls, c):<DEDENT>
if isinstance(c, Complete):<EOL><INDENT>return c<EOL><DEDENT>elif isinstance(c, Translation):<EOL><INDENT>return Complete(np.identity(<NUM_LIT:3>, float), c.t)<EOL><DEDENT>elif isinstance(c, Rotation):<EOL><INDENT>return Complete(c.r, np.zeros(<NUM_LIT:3>, float))<EOL><DEDENT>
Convert the first argument into a Complete object