| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
| |
As the most important part of the formulas are the signs, factorizing greatly helps readability.
Also, some other polishing.
|
| |
|
|
| |
An obvious copy&paste error. Probably not the only one in this program...
|
| |
|
| |
Corrected the year in the copyright line. It's 2015 of course.
|
| | |
|
| | |
|
| | |
|
| |\
| |
| |
| | |
Made the mistake of using the webinterface to create a remote branch...
|
| | |
|
| |
|