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

Bug 384328

Summary: [GEF4] The getPointAt() and getParameterAt() methods of the Straight class are inconsistent to the other methods of that class
Product: [Tools] GEF Reporter: Matthias Wienand <matthias.wienand>
Component: GEF GeometryAssignee: Matthias Wienand <matthias.wienand>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: matthias.wienand, nyssen
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Matthias Wienand CLA 2012-07-05 03:48:07 EDT
Build Identifier: 

In contrast to the other methods of the Straight class, the getPointAt() and getParameterAt(Point) methods are returning/receiving a Point object, respectively. To be in-line with the other methods, the getPointAt() method should return a Vector object (and should probably receive a rename) and the getParameterAt() method should expect a Vector object as its parameter.

Reproducible: Always
Comment 1 Matthias Wienand CLA 2012-07-19 05:31:59 EDT
Ensure that Vector objects instead of Point objects are used in Straight#getPointAt() and Straight#getParameterAt(). Pushed changes to master. Resolving as FIXED.