Add subtraction for all overlap

This commit is contained in:
Prokhorov Kirill
2024-09-09 12:38:01 +03:00
committed by Oleg Korshul
parent 58cc6cf6e8
commit 3221e41e89
2 changed files with 80 additions and 7 deletions

View File

@ -137,6 +137,7 @@ namespace Aggplus
void AddLocation(Curve curve1, Curve curve2, double t1, double t2, bool overlap = false);
void InsertLocation(std::shared_ptr<Location> loc, bool overlap);
bool AllOverlap() const;
bool AllInters(const std::vector<Segment>& segments) const;
// Util
void SetVisited(const Segment& segment);