mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-09 23:24:02 +00:00
Fixes in sample c06
[SVN r70118]
This commit is contained in:
parent
0c9e4b52bb
commit
e1e92d876b
@ -110,20 +110,20 @@ int main()
|
||||
// Fill it the my-way, triangle
|
||||
p1.boundary.push_back(my_point(2, 0));
|
||||
p1.boundary.push_back(my_point(1, 5));
|
||||
p1.boundary.push_back(my_point(5, 5));
|
||||
p1.boundary.push_back(my_point(7, 6));
|
||||
p1.boundary.push_back(my_point(2, 0));
|
||||
|
||||
// Triangle
|
||||
p1.holes[0].push_back(my_point(2, 1));
|
||||
p1.holes[0].push_back(my_point(1.9, 2));
|
||||
p1.holes[0].push_back(my_point(2.4, 2));
|
||||
p1.holes[0].push_back(my_point(1.9, 2));
|
||||
p1.holes[0].push_back(my_point(2, 1));
|
||||
|
||||
// Box
|
||||
p1.holes[1].push_back(my_point(3, 3));
|
||||
p1.holes[1].push_back(my_point(3, 4));
|
||||
p1.holes[1].push_back(my_point(4, 4));
|
||||
p1.holes[1].push_back(my_point(4, 3));
|
||||
p1.holes[1].push_back(my_point(4, 4));
|
||||
p1.holes[1].push_back(my_point(3, 4));
|
||||
p1.holes[1].push_back(my_point(3, 3));
|
||||
|
||||
std::cout << "Representation of " << p1.name << ": "
|
||||
|
Loading…
x
Reference in New Issue
Block a user