Opened 5 years ago

#13511 new Bugs

Boost transformation has possible bug

Reported by: asksoni@… Owned by: Lucanus Simonson
Milestone: To Be Determined Component: polygon
Version: Boost 1.62.0 Severity: Problem
Keywords: Cc:

Description

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);

Change History (0)

Note: See TracTickets for help on using tickets.