mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-10 11:32:15 +00:00
Merged Boost.Geometry from revision 71123 to 71336
[SVN r71339]
This commit is contained in:
@@ -41,7 +41,7 @@ int main(void)
|
||||
{3.4, 2.0}, {4.1, 3.0}, {5.3, 2.6}, {5.4, 1.2}, {4.9, 0.8}, {2.9, 0.7},
|
||||
{2.0, 1.3} // closing point is opening point
|
||||
};
|
||||
assign(poly, coor);
|
||||
assign_points(poly, coor);
|
||||
}
|
||||
|
||||
// Polygons should be closed, and directed clockwise. If you're not sure if that is the case,
|
||||
@@ -77,7 +77,7 @@ int main(void)
|
||||
model::ring<point_2d>& inner = poly.inners().back();
|
||||
|
||||
const double coor[][2] = { {4.0, 2.0}, {4.2, 1.4}, {4.8, 1.9}, {4.4, 2.2}, {4.0, 2.0} };
|
||||
assign(inner, coor);
|
||||
assign_points(inner, coor);
|
||||
}
|
||||
|
||||
correct(poly);
|
||||
|
||||
Reference in New Issue
Block a user