- ipkiss3.all.route_to_line(start_pos, angle_in, line_point, line_angle, bend_size_fn, bend90_size_fn=None, max_s_bend_angle=90.0, s_bend_angle_resolution=-0.1, start_straight=0.0, end_straight=0.0, min_straight=0.0)¶
Calculate a route that ends on a given line.
2-dimensional point from where the route should start.
The angle the route needs to start with.
A point on the line you want to route to.
Angle of the line you want to route to
Calculates the sizes of the bends
The maximum angle of the bends along the route
The length of the start straight section
The length of the end straight section
The minimum length of any intermediary straight sections. ( like in U-turns )
- numpy array
An array of points that represents the path of the route.