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

Bug 506222

Summary: Add Point#getTransformed(AffineTransform) and Point#transform(AffineTransform) methods.
Product: [Tools] GEF Reporter: Matthias Wienand <matthias.wienand>
Component: GEF MVCAssignee: gef-inbox <gef-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.0.0   
Target Milestone: 5.0.0 (Oxygen) M4   
Hardware: All   
OS: All   
Whiteboard: low-hanging fruit

Description Matthias Wienand CLA 2016-10-19 11:22:03 EDT
Currently, the only way to apply a transformation matrix to a Point is by using the AffineTransform#getTransformed(Point) method. Thus, a Point cannot be transformed in-place, and, the Point API is inconsistent with the rest of the Geometry API. Therefore, new methods #transform(AffineTransform) and #getTransformed(AffineTransform) should be added to Point.