27 for (
auto&& p : polys) {
34 double op_width,
const F2CCells& polys) {
36 for (
auto&& p : polys) {
44 double op_width,
const F2CCell& poly) {
47 double field_height {rot_poly.
getHeight()};
48 F2CPoint min_point(rot_poly.getDimMinX(), rot_poly.getDimMinY());
49 auto seed_curve = rot_poly.createStraightLongLine(min_point, 0.0);
51 double curve_y {-0.5 * op_width};
53 while (field_height > curve_y + (
allow_overlap ? 0.0 : 0.5 * op_width)) {
56 seed_curve +
F2CPoint(0.0, curve_y)));
66 double ang,
double op_width,
const F2CCell& poly) {
67 if (
obj.isFastCompAvailable()) {
68 return obj.computeCostWithMinimizingSign(ang, op_width, poly);
70 return obj.computeCostWithMinimizingSign(poly,