In this tutorial you will learn how to:
This tutorial code's is shown lines below. You can also download it from here
@include samples/cpp/tutorial_code/ShapeDescriptors/hull_demo.cpp
Here it is: