@pimms.param<EOL><INDENT>def points(x):<DEDENT>
if isinstance(x, CurveSpline): return x.persist()<EOL>x = np.array(x)<EOL>if not pimms.is_matrix(x, '<STR_LIT>'): return ValueError('<STR_LIT>')<EOL>if x.shape[<NUM_LIT:0>] != <NUM_LIT:2>: x = x.T<EOL>if x.shape[<NUM_LIT:0>] != <NUM_LIT:2>: raise ValueError('<STR_LIT>')<EOL>if x.flags['<STR_LIT>']: x = pimms.imm_array(x)<EOL>return x<EOL>
trace.points is a either the coordinate matrix of the traced points represented by the given
trace object or is the curve-spline object that represents the given path trace.