Corrected sorting.
Added screenshot
Added Atlas to allow converting WKT to cartesian points. Refactored gruntfile to allow building Atlas.
Switched to using vertices to allow cartesian coordinates from WKT. Added example of subdivision breaking. Updated travis.
Canvas now fills browser screen. Fixed radius position of rendered circles.
Added line to npm install for atlas.
Added dependence on the JSTS library for finding the difference of two polygons, since the logic can be more complex if holes or multiple polygons are formed, and also when making slices. Fixed tests to anticipate multiple polygons.
Removed duplicate points from the polygon. Fixed the subdivision logic.
Added method for drawing text overlays on vertices when moving the mouse on top. Fixed Map2d bugs when setting and removing values. Prevented adding undefined points to Polygon. Prevented quads from having 3 points. Implemented area restriction, but needs more work.
Added demo of splitting a polygon using lines in JSTS. Added method to convert edge to JSTS. Added methods to iterate over Map2d and check equality. Added method to check equality for polygons. Added support for getting the difference of a polygon using another polygon or slicing with an edge. Added tests for Map2d, polygon equality and slicing a polygon with an edge.
Added collection and geometry classes. Added support for taking the difference from a polygon using a collection (e.g. of edges). Added tests for this and fixed a bug with equality of polygons.
Fixed bug with incorrect coordinates on the point labels. Calculated polygons from subdivision.
Added support for detecting when two polygons are intersecting as well as combining.
Added method for combining two intersecting polygons into one using convex hull.
Added python for building Atlas.
Added a Set class for storing unique objects.
Added tests for set class and fixed to support multiple sets.
Added method for adding multiple items to a Set.
Added logic for joining invalid polygons to meet constraints.
Improved visualisation to show final polygons and original edges before constraints. Cleanup.