Subject: [Boost-bugs] [Boost C++ Libraries] #13511: Boost transformation has possible bug
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-04-04 18:25:58
#13511: Boost transformation has possible bug
------------------------------+------------------------------
Reporter: asksoni@⦠| Owner: Lucanus Simonson
Type: Bugs | Status: new
Milestone: To Be Determined | Component: polygon
Version: Boost 1.62.0 | Severity: Problem
Keywords: |
------------------------------+------------------------------
Applying multiple transformation & translation simultaneously do not
produce desired result.
**For example :**
**Case 1 : Produces wrong result.**
btr =
boost::polygon::transformation<int>(boost::polygon::axis_transformation::FLIP_X);\\
btr +=
boost::polygon::transformation<int>(boost::polygon::axis_transformation::FLIP_XY);\\
res = boost::polygon::transform(object, btr);
**Case 1 : Produces right result.**
btr =
boost::polygon::transformation<int>(boost::polygon::axis_transformation::FLIP_X);\\
res = boost::polygon::transform(object, btr);\\
btr =
boost::polygon::transformation<int>(boost::polygon::axis_transformation::FLIP_XY);\\
res = boost::polygon::transform(res, btr);
-- Ticket URL: <https://svn.boost.org/trac10/ticket/13511> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2018-04-04 18:33:29 UTC