78 cout <<
"Diameter endpoints: ("
79 << diameter.first.get_x() <<
", " << diameter.first.get_y() <<
") <-> ("
80 << diameter.second.get_x() <<
", " << diameter.second.get_y() <<
")" << endl;
81 cout <<
"Diameter distance^2: " << diameter.distance_squared << endl;
82 cout <<
"Minimum width support edge: ("
83 << width.edge_first.get_x() <<
", " << width.edge_first.get_y() <<
") -> ("
84 << width.edge_second.get_x() <<
", " << width.edge_second.get_y() <<
")" << endl;
85 cout <<
"Antipodal vertex: (" << width.antipodal.get_x()
86 <<
", " << width.antipodal.get_y() <<
")" << endl;
87 cout <<
"Minimum width^2: " << width.width_squared << endl;
92 assert(diameter.distance_squared ==
Geom_Number(73));
95 cout <<
"Validation OK for 8x3 rectangle." << endl;
96 cout <<
"STATUS: OK" << endl;