aboutsummaryrefslogtreecommitdiff
path: root/anglerange.h
diff options
context:
space:
mode:
Diffstat (limited to 'anglerange.h')
-rw-r--r--anglerange.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/anglerange.h b/anglerange.h
index 4598e80..ab98cbc 100644
--- a/anglerange.h
+++ b/anglerange.h
@@ -62,6 +62,10 @@ public:
//a new anglerange.
anglerange overlap(const anglerange &other);
+ //this function does the opposite of overlap: Both ranges are combined into one bigger range.
+ //if they are disjoint, an empty range is given back.
+ anglerange combine(const anglerange &other);
+
};
#endif // ANGLERANGE_H