aboutsummaryrefslogtreecommitdiff
path: root/anglerange.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add angle sets (disjoint ranges) - initial supportAndreas Grois2015-11-101-6/+221
| | | | | | | By adding a new angleset class, things get much easier to read. Also, the part of the previous commit that dealt with combining the individual ranges was kind of stupid. Things missing: o) functions to remove angle ranges from a set o) deferred add functions, that allow adding multiple ranges without calling the O(n²) function angleset::combine() in between.
* Combine and sort resultsAndreas Grois2015-11-061-1/+83
| | | | | | This change introduces (experimental and not very clean) combining of results. It might be worth writing a disjoint angle range class to get cleaner code here, as the while loops at the end are quite far from being beautiful. In addition the output ranges are sorted by their lower border. I'm using Lambda expressions for this, so C+11 is required. Also, this is currently completely untested.
* Fix year for all source code files.Andreas Grois2015-11-041-1/+1
| | | | An obvious copy&paste error. Probably not the only one in this program...
* Github... I'm not yet used to it.Andreas Grois2015-11-031-0/+167
|
* Initial Commit. Still full of bugs, and not very pretty.Andreas Grois2015-11-031-0/+5