Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Are the docs for returnPoints of convexHull incorrect?

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?

Are the docs for returnPoints of convexHull incorrect?

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?