dedup, subdivide implemented.  class XY_a() employed for points, rather than triples.
todo: sorting, slicing, reversing