mirror of https://github.com/CGAL/cgal
Remove argc, argv
This commit is contained in:
parent
181cec68f4
commit
b13b01af99
|
|
@ -9,7 +9,7 @@
|
||||||
using Kernel = CGAL::Exact_predicates_inexact_constructions_kernel;
|
using Kernel = CGAL::Exact_predicates_inexact_constructions_kernel;
|
||||||
using Multipolygon_with_holes_2 = CGAL::Multipolygon_with_holes_2<Kernel>;
|
using Multipolygon_with_holes_2 = CGAL::Multipolygon_with_holes_2<Kernel>;
|
||||||
|
|
||||||
int main(int argc, char* argv[]) {
|
int main() {
|
||||||
std::string wkt = "MULTIPOLYGON(((0 0,1 0,1 1,0 1,0 0),(0.1 0.1,0.1 0.9,0.9 0.9,0.9 0.1,0.1 0.1)),((0.2 0.2,0.8 0.2,0.8 0.8,0.2 0.8,0.2 0.2),(0.3 0.3,0.3 0.7,0.7 0.7,0.7 0.3,0.3 0.3)))";
|
std::string wkt = "MULTIPOLYGON(((0 0,1 0,1 1,0 1,0 0),(0.1 0.1,0.1 0.9,0.9 0.9,0.9 0.1,0.1 0.1)),((0.2 0.2,0.8 0.2,0.8 0.8,0.2 0.8,0.2 0.2),(0.3 0.3,0.3 0.7,0.7 0.7,0.7 0.3,0.3 0.3)))";
|
||||||
std::istringstream iss(wkt);
|
std::istringstream iss(wkt);
|
||||||
Multipolygon_with_holes_2 mp;
|
Multipolygon_with_holes_2 mp;
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ using Polygon_2 = CGAL::Polygon_2<Kernel>;
|
||||||
using Polygon_with_holes_2 = CGAL::Polygon_with_holes_2<Kernel>;
|
using Polygon_with_holes_2 = CGAL::Polygon_with_holes_2<Kernel>;
|
||||||
using Multipolygon_with_holes_2 = CGAL::Multipolygon_with_holes_2<Kernel>;
|
using Multipolygon_with_holes_2 = CGAL::Multipolygon_with_holes_2<Kernel>;
|
||||||
|
|
||||||
int main(int argc, char* argv[]) {
|
int main() {
|
||||||
|
|
||||||
Point_2 p1_outer[] = {Point_2(0,0), Point_2(1,0), Point_2(1,1), Point_2(0,1)};
|
Point_2 p1_outer[] = {Point_2(0,0), Point_2(1,0), Point_2(1,1), Point_2(0,1)};
|
||||||
Point_2 p1_inner[] = {Point_2(0.2,0.2), Point_2(0.8,0.2), Point_2(0.8,0.8), Point_2(0.2,0.8)};
|
Point_2 p1_inner[] = {Point_2(0.2,0.2), Point_2(0.8,0.2), Point_2(0.8,0.8), Point_2(0.2,0.8)};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue