mirror of https://github.com/CGAL/cgal
*** empty log message ***
This commit is contained in:
parent
bc4f5e908a
commit
76b1564254
|
|
@ -2,10 +2,10 @@
|
||||||
/* ------------------------------- */
|
/* ------------------------------- */
|
||||||
/* CGAL example program for the generic segment generator. */
|
/* CGAL example program for the generic segment generator. */
|
||||||
|
|
||||||
|
#include <CGAL/basic.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <vector.h>
|
#include <vector.h>
|
||||||
#include <algo.h>
|
#include <algo.h>
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Cartesian.h>
|
#include <CGAL/Cartesian.h>
|
||||||
#include <CGAL/Point_2.h>
|
#include <CGAL/Point_2.h>
|
||||||
#include <CGAL/Segment_2.h>
|
#include <CGAL/Segment_2.h>
|
||||||
|
|
@ -44,11 +44,9 @@ int main()
|
||||||
for( vector<Segment>::iterator i = segs.begin(); i != segs.end(); i++)
|
for( vector<Segment>::iterator i = segs.begin(); i != segs.end(); i++)
|
||||||
W << *i;
|
W << *i;
|
||||||
|
|
||||||
/* Wait for program termination. */
|
/* Wait for mouse click in window. */
|
||||||
char c;
|
Point p;
|
||||||
cout << " Type any character to continue: " << endl;
|
W >> p;
|
||||||
cin >> c;
|
|
||||||
cout << " done" << endl;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,10 @@
|
||||||
/* CGAL example program for the generic segment generator */
|
/* CGAL example program for the generic segment generator */
|
||||||
/* using precomputed point locations. */
|
/* using precomputed point locations. */
|
||||||
|
|
||||||
|
#include <CGAL/basic.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <vector.h>
|
#include <vector.h>
|
||||||
#include <algo.h>
|
#include <algo.h>
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Cartesian.h>
|
#include <CGAL/Cartesian.h>
|
||||||
#include <CGAL/Point_2.h>
|
#include <CGAL/Point_2.h>
|
||||||
#include <CGAL/Segment_2.h>
|
#include <CGAL/Segment_2.h>
|
||||||
|
|
@ -57,11 +57,9 @@ int main()
|
||||||
for( vector<Segment>::iterator i = segs.begin(); i != segs.end(); i++)
|
for( vector<Segment>::iterator i = segs.begin(); i != segs.end(); i++)
|
||||||
W << *i;
|
W << *i;
|
||||||
|
|
||||||
/* Wait for program termination. */
|
/* Wait for mouse click in window. */
|
||||||
char c;
|
Point p;
|
||||||
cout << " Type any character to continue: " << endl;
|
W >> p;
|
||||||
cin >> c;
|
|
||||||
cout << " done" << endl;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,10 @@
|
||||||
/* ------------------------------- */
|
/* ------------------------------- */
|
||||||
/* CGAL example program for point generators. */
|
/* CGAL example program for point generators. */
|
||||||
|
|
||||||
|
#include <CGAL/basic.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <vector.h>
|
#include <vector.h>
|
||||||
#include <algo.h>
|
#include <algo.h>
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Cartesian.h>
|
#include <CGAL/Cartesian.h>
|
||||||
#include <CGAL/Point_2.h>
|
#include <CGAL/Point_2.h>
|
||||||
#include <CGAL/point_generators_2.h>
|
#include <CGAL/point_generators_2.h>
|
||||||
|
|
@ -54,11 +54,9 @@ int main()
|
||||||
for( vector<Point>::iterator i = points.begin(); i != points.end(); i++)
|
for( vector<Point>::iterator i = points.begin(); i != points.end(); i++)
|
||||||
W << *i;
|
W << *i;
|
||||||
|
|
||||||
/* Wait for program termination. */
|
/* Wait for mouse click in window. */
|
||||||
char c;
|
Point p;
|
||||||
cout << " Type any character to continue: " << endl;
|
W >> p;
|
||||||
cin >> c;
|
|
||||||
cout << " done" << endl;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,10 @@
|
||||||
/* ------------------------------- */
|
/* ------------------------------- */
|
||||||
/* CGAL example program for point generators creating integer points. */
|
/* CGAL example program for point generators creating integer points. */
|
||||||
|
|
||||||
|
#include <CGAL/basic.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <vector.h>
|
#include <vector.h>
|
||||||
#include <algo.h>
|
#include <algo.h>
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Cartesian.h>
|
#include <CGAL/Cartesian.h>
|
||||||
#include <CGAL/Point_2.h>
|
#include <CGAL/Point_2.h>
|
||||||
|
|
||||||
|
|
@ -58,11 +58,9 @@ int main()
|
||||||
for( vector<Point>::iterator i = points.begin(); i != points.end(); i++)
|
for( vector<Point>::iterator i = points.begin(); i != points.end(); i++)
|
||||||
W << *i;
|
W << *i;
|
||||||
|
|
||||||
/* Wait for program termination. */
|
/* Wait for mouse click in window. */
|
||||||
char c;
|
Point p;
|
||||||
cout << " Type any character to continue: " << endl;
|
W >> p;
|
||||||
cin >> c;
|
|
||||||
cout << " done" << endl;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,10 @@
|
||||||
/* ------------------------------- */
|
/* ------------------------------- */
|
||||||
/* CGAL example program for the generic segment generator. */
|
/* CGAL example program for the generic segment generator. */
|
||||||
|
|
||||||
|
#include <CGAL/basic.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <vector.h>
|
#include <vector.h>
|
||||||
#include <algo.h>
|
#include <algo.h>
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Cartesian.h>
|
#include <CGAL/Cartesian.h>
|
||||||
#include <CGAL/Point_2.h>
|
#include <CGAL/Point_2.h>
|
||||||
#include <CGAL/Segment_2.h>
|
#include <CGAL/Segment_2.h>
|
||||||
|
|
@ -44,11 +44,9 @@ int main()
|
||||||
for( vector<Segment>::iterator i = segs.begin(); i != segs.end(); i++)
|
for( vector<Segment>::iterator i = segs.begin(); i != segs.end(); i++)
|
||||||
W << *i;
|
W << *i;
|
||||||
|
|
||||||
/* Wait for program termination. */
|
/* Wait for mouse click in window. */
|
||||||
char c;
|
Point p;
|
||||||
cout << " Type any character to continue: " << endl;
|
W >> p;
|
||||||
cin >> c;
|
|
||||||
cout << " done" << endl;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,10 @@
|
||||||
/* CGAL example program for the generic segment generator */
|
/* CGAL example program for the generic segment generator */
|
||||||
/* using precomputed point locations. */
|
/* using precomputed point locations. */
|
||||||
|
|
||||||
|
#include <CGAL/basic.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <vector.h>
|
#include <vector.h>
|
||||||
#include <algo.h>
|
#include <algo.h>
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Cartesian.h>
|
#include <CGAL/Cartesian.h>
|
||||||
#include <CGAL/Point_2.h>
|
#include <CGAL/Point_2.h>
|
||||||
#include <CGAL/Segment_2.h>
|
#include <CGAL/Segment_2.h>
|
||||||
|
|
@ -57,11 +57,9 @@ int main()
|
||||||
for( vector<Segment>::iterator i = segs.begin(); i != segs.end(); i++)
|
for( vector<Segment>::iterator i = segs.begin(); i != segs.end(); i++)
|
||||||
W << *i;
|
W << *i;
|
||||||
|
|
||||||
/* Wait for program termination. */
|
/* Wait for mouse click in window. */
|
||||||
char c;
|
Point p;
|
||||||
cout << " Type any character to continue: " << endl;
|
W >> p;
|
||||||
cin >> c;
|
|
||||||
cout << " done" << endl;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,10 @@
|
||||||
/* ------------------------------- */
|
/* ------------------------------- */
|
||||||
/* CGAL example program for point generators. */
|
/* CGAL example program for point generators. */
|
||||||
|
|
||||||
|
#include <CGAL/basic.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <vector.h>
|
#include <vector.h>
|
||||||
#include <algo.h>
|
#include <algo.h>
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Cartesian.h>
|
#include <CGAL/Cartesian.h>
|
||||||
#include <CGAL/Point_2.h>
|
#include <CGAL/Point_2.h>
|
||||||
#include <CGAL/point_generators_2.h>
|
#include <CGAL/point_generators_2.h>
|
||||||
|
|
@ -54,11 +54,9 @@ int main()
|
||||||
for( vector<Point>::iterator i = points.begin(); i != points.end(); i++)
|
for( vector<Point>::iterator i = points.begin(); i != points.end(); i++)
|
||||||
W << *i;
|
W << *i;
|
||||||
|
|
||||||
/* Wait for program termination. */
|
/* Wait for mouse click in window. */
|
||||||
char c;
|
Point p;
|
||||||
cout << " Type any character to continue: " << endl;
|
W >> p;
|
||||||
cin >> c;
|
|
||||||
cout << " done" << endl;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,10 @@
|
||||||
/* ------------------------------- */
|
/* ------------------------------- */
|
||||||
/* CGAL example program for point generators creating integer points. */
|
/* CGAL example program for point generators creating integer points. */
|
||||||
|
|
||||||
|
#include <CGAL/basic.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <vector.h>
|
#include <vector.h>
|
||||||
#include <algo.h>
|
#include <algo.h>
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Cartesian.h>
|
#include <CGAL/Cartesian.h>
|
||||||
#include <CGAL/Point_2.h>
|
#include <CGAL/Point_2.h>
|
||||||
|
|
||||||
|
|
@ -58,11 +58,9 @@ int main()
|
||||||
for( vector<Point>::iterator i = points.begin(); i != points.end(); i++)
|
for( vector<Point>::iterator i = points.begin(); i != points.end(); i++)
|
||||||
W << *i;
|
W << *i;
|
||||||
|
|
||||||
/* Wait for program termination. */
|
/* Wait for mouse click in window. */
|
||||||
char c;
|
Point p;
|
||||||
cout << " Type any character to continue: " << endl;
|
W >> p;
|
||||||
cin >> c;
|
|
||||||
cout << " done" << endl;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue