summaryrefslogtreecommitdiff
path: root/libs/geometry/doc/src/examples/algorithms/is_valid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/geometry/doc/src/examples/algorithms/is_valid.cpp')
-rw-r--r--libs/geometry/doc/src/examples/algorithms/is_valid.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/geometry/doc/src/examples/algorithms/is_valid.cpp b/libs/geometry/doc/src/examples/algorithms/is_valid.cpp
index 2cb12f354..d802b3c45 100644
--- a/libs/geometry/doc/src/examples/algorithms/is_valid.cpp
+++ b/libs/geometry/doc/src/examples/algorithms/is_valid.cpp
@@ -24,9 +24,7 @@ int main()
typedef boost::geometry::model::polygon<point_type> polygon_type;
polygon_type poly;
- boost::geometry::read_wkt(
- "POLYGON((0 0,0 10,10 10,10 0,0 0),(0 0,9 1,9 2,0 0),(0 0,2 9,1 9,0 0),(2 9,9 2,9 9,2 9))"
- , poly);
+ boost::geometry::read_wkt("POLYGON((0 0,0 10,10 10,10 0,0 0),(0 0,9 1,9 2,0 0),(0 0,2 9,1 9,0 0),(2 9,9 2,9 9,2 9))", poly);
std::cout << "is valid? " << (boost::geometry::is_valid(poly) ? "yes" : "no") << std::endl;
/*<-*/ create_svg("is_valid_example.svg", poly); /*->*/