Bug 506271 - Add AffineTransform#similarTo(AffineTransform) for imprecise transformation comparisons.
Summary: Add AffineTransform#similarTo(AffineTransform) for imprecise transformation c...
Status: NEW
Alias: None
Product: GEF
Classification: Tools
Component: GEF Geometry (show other bugs)
Version: 1.0.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-20 06:52 EDT by Matthias Wienand CLA
Modified: 2016-10-20 06:52 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Wienand CLA 2016-10-20 06:52:28 EDT
Currently, the only method that is provided to test two AffineTransforms for equality is AffineTransform#equals(AffineTransform) which performs a precise comparison. However, since transformation concatenations introduce floating point errors, another method #similarTo(AffineTransform) should be provided that performs an imprecise comparison (in accordance with JavaFX Transform#similarTo(Transform,...)).