(x, t, x0, val)
| 201 | |
| 202 | |
| 203 | def orientation_cost(x, t, x0, val): |
| 204 | |
| 205 | if t == "LINE": |
| 206 | rv = gp_Vec2d(*(x[2:] - x[:2])).Angle(gp_Vec2d(*val)) |
| 207 | else: |
| 208 | raise invalid_args(t) |
| 209 | |
| 210 | return rv |
| 211 | |
| 212 | |
| 213 | def arc_angle_cost(x, t, x0, val): |
nothing calls this directly
no test coverage detected