Are the docs for returnPoints of convexHull incorrect? [closed]

asked 2016-11-20 05:58:32 -0600

onixie gravatar image

updated 2018-09-29 18:27:44 -0600

the last sentense about returnPoints of convexHull says

"When the output array is std::vector, the flag is ignored, and the output depends on the type of the vector: std::vector<int> implies returnPoints=true, std::vector<point> implies returnPoints=false."

Is the true/false value of returnPoints written oppositely?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sturkmen
close date 2020-10-08 15:50:08.130400

Comments

you're right here.

berak gravatar imageberak ( 2016-11-20 09:59:47 -0600 )edit

yep a bug, you can file an issue and provide a pull request to fix this?

StevenPuttemans gravatar imageStevenPuttemans ( 2016-11-21 08:54:11 -0600 )edit