mirror of https://github.com/CGAL/cgal
Send the points of the hello world example to std::cout.
Approved by the release manager
This commit is contained in:
parent
d5d9104736
commit
0ccdbd6f9c
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue