RouteMeander.get_unit_vectors#
- RouteMeander.get_unit_vectors(start: QRoutePoint, end: QRoutePoint, snap: bool = False) Tuple #
Return the unit and target vector in which the CPW should process as its coordinate sys.
- Parameters:
start (QRoutePoint) – Reference start point (direction from here)
end (QRoutePoint) – Reference end point (direction to here)
snap (bool) – True to snap to grid. Defaults to False.
- Returns:
straight and 90 deg CCW rotated vecs 2D (array([1., 0.]), array([0., 1.]))
- Return type:
array