class QRoutePoint(position: array, direction: array | None = None)[source]

A convenience wrapper class to define an point with orientation, with a 2D position and a 2D direction (XY plane).

All values stored as np.ndarray of parsed floats.

  • position (np.ndarray of 2 points) – Center point of the pin.

  • direction (np.ndarray of 2 points) – Normal vector This is the normal vector to the surface on which the pin mates. Defines which way it points outward. Has unit norm. Defaults to None.