Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 488366

Summary: Add support for computing overlaps between curves.
Product: [Tools] GEF Reporter: Alexander Nyßen <nyssen>
Component: GEF GeometryAssignee: Alexander Nyßen <nyssen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.2.0   
Target Milestone: 4.0.0 (Neon) M6   
Hardware: All   
OS: All   
Whiteboard:

Description Alexander Nyßen CLA 2016-02-24 04:26:42 EST
Up to now, computing an overlap is supported between two bezier curves through BezierCurve.getOverlap(). We should generalize this to a concept of ICurve by offering ICurve.getOverlaps(), so that overlaps can be determined for arbitrary curves.
Comment 1 Alexander Nyßen CLA 2016-02-24 05:29:48 EST
Pushed the following changes to origin/master:

- Add getOverlaps(ICurve) method to ICurve interface.
- Added related static delegate method to CurveUtils.
- Added implementations (delegating to CurveUtils) to Arc, BezierCurve, PolyBezier, and Polyline.

Resolving as fixed in 4.0.0 M6.