Merge pull request #12523 from takotakot:12455_rotatedrect_constructor
authorTakuho NAKANO <takotakot@users.noreply.github.com>
Thu, 13 Sep 2018 19:26:05 +0000 (04:26 +0900)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Thu, 13 Sep 2018 19:26:05 +0000 (22:26 +0300)
commit451340fd3d2f20fb0f0f62402340bbba27314c75
tree3a03643618a6c22cc1c9a78b123745ff29cffdc0
parente51d7cb3d8a2b59962e3968c0fb3854aadbee5f6
Merge pull request #12523 from takotakot:12455_rotatedrect_constructor

* Fix perpendicular decision of RotatedRect::RotatedRect

Error estimation is based on #12455.

* Fix abs to std::fabs and atan to std::atan
modules/core/src/types.cpp