fd3d055115
Add missing parts of ConvexHullIncremental
...
continuous-integration/drone/push Build is passing
The algorithm parts to clean up the four parts of the convex hull were
not implemented yet. Also added draw function for completed algorithm.
2020-03-20 12:06:10 +01:00
8a3910497e
Add algorithm class ConvexHullIncremental
continuous-integration/drone/push Build is passing
2020-03-16 19:48:02 +01:00
28097c2f2e
Fix algorithm.py and draw final result
continuous-integration/drone/push Build is passing
2020-03-11 22:34:35 +01:00
867745fe4e
Add draw implementation for existing classes
continuous-integration/drone/push Build is passing
2020-03-11 19:49:47 +01:00
b0d83a9116
Update algorithm.py
...
Methods str of point and linesegment are now operators
2020-03-10 08:38:33 +01:00
70bb80e445
FIx comments
2020-03-09 19:18:07 +01:00
c96c1fc8bc
Rename sort method for points
2020-03-09 18:43:24 +01:00
f19dcee20b
Modify algorithm module to be more common to use
...
Method exec() is now in base class algorithm and called run().
The algorithm class should now be better to use for various algorithms.
2020-03-09 18:18:52 +01:00
7210a94995
Convert sweep module and class to algorithm
...
Since an algorithm can use more than one sweep, the sweep class doesn't
fit very good as it is right now. For this reasen it got converted to a
more general class named algorithm, that shall be used as parent for
every individual algorithm. The exact behaviour of the algorithm is
then defined in the child classes.
2020-03-09 17:41:37 +01:00