Implemented th.Edge and th.Triangle