KrisLibrary
1.0.0
|
Computes the overlay of a set of segments using a sweep line algorithm. More...
#include <SegmentOverlay.h>
Classes | |
struct | IntersectionInfo |
Public Member Functions | |
SegmentOverlay (const vector< Segment2D > &S) | |
void | GetSegments (vector< Segment2D > &Snew) const |
Public Attributes | |
vector< IntersectionInfo > | output |
Computes the overlay of a set of segments using a sweep line algorithm.
I'm not sure if this works completely accurately or not – uses floating point numerical precision.