Send the points of the hello world example to std::cout.

Approved by the release manager
This commit is contained in:
Andreas Fabri 2014-08-27 12:23:00 +02:00
parent d5d9104736
commit 0ccdbd6f9c
1 changed files with 4 additions and 1 deletions

View File

@ -11,6 +11,9 @@ int main()
Point_2 result[5];
Point_2 *ptr = CGAL::convex_hull_2( points, points+5, result );
std::cout << ptr - result << " points on the convex hull" << std::endl;
std::cout << ptr - result << " points on the convex hull:" << std::endl;
for(int i = 0; i < ptr - result; i++){
std::cout << result[i] << std::endl;
}
return 0;
}