as_pt2cell function

Convert object into a pt2cell or pt2celllist class object