Skip to content

Commit dfc75e8

Browse files
committed
Add minimum example of Qiangsun's polygon for tests.
1 parent 9065501 commit dfc75e8

File tree

1 file changed

+16
-0
lines changed
  • polygon_coverage_geometry/include/polygon_coverage_geometry

1 file changed

+16
-0
lines changed

polygon_coverage_geometry/include/polygon_coverage_geometry/test_comm.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,22 @@ PolygonWithHoles createSophisticatedPolygon() {
160160
return poly_with_holes;
161161
}
162162

163+
template <class Polygon>
164+
Polygon createQiangsun89Polygon() {
165+
Polygon poly;
166+
poly.push_back(Point_2(3572.0, 115.0));
167+
poly.push_back(Point_2(2724.0, 460.0));
168+
poly.push_back(Point_2(2660.0, 95.0));
169+
poly.push_back(Point_2(855.0, 813.0));
170+
poly.push_back(Point_2(1182.0, 1497.0));
171+
poly.push_back(Point_2(2925.0, 832.0));
172+
poly.push_back(Point_2(2905.0, 480.0));
173+
poly.push_back(Point_2(3608.0, 208.0));
174+
175+
return poly;
176+
}
177+
178+
163179
template <class Kernel>
164180
bool checkVerticesIdentical(const typename Kernel::Point_2& a,
165181
const typename Kernel::Point_2& b) {

0 commit comments

Comments
 (0)