Made the following changes after code inspection (min_enclosing_triangle.cpp):
authorOvidiu Parvu <ovidiu.parvu@gmail.com>
Wed, 18 Sep 2013 11:21:24 +0000 (12:21 +0100)
committerOvidiu Parvu <ovidiu.parvu@gmail.com>
Wed, 18 Sep 2013 11:21:24 +0000 (12:21 +0100)
commitdc64dd731596ad5071892e551b507a3ac781ea1c
tree9855594ea5c94ba17372bc496c35a4688c1f12ec
parentb570a4ac47842856c8fb91932aa5faa4b2c47801
Made the following changes after code inspection (min_enclosing_triangle.cpp):
* Corrected minor typos in comments/function signatures
* Added new details to copyright statement
* Removed unreferenced macros
* Removed the assert statement which was checking the type of the OutputArray triangle
* When returning results using Mat::copyTo instead of Mat::convertTo
* Changed C-style casts to static_casts
* Added division by zero check to distanceFromPointToLine() function
* Updated reference webpages last access dates
* Moved the declaration of the gammaOfA variable outside the while loop in moveAIfLowAndBIfHigh() function for efficiency reasons
modules/imgproc/src/min_enclosing_triangle.cpp