Documented the TermCriteria class (#2560)
Merge pull request #400 from ilysenkov:bugfix_2560