added method .removeCollinearPoints to Polygon, and added threshold angle to Point.collinear
updated build
removal of collinear points in the gui