upStartVector property

Offset get upStartVector

The 'Up' vector for the start point, calculated if not already cached. This vector is perpendicular to the curve's direction at the start.

Implementation

Offset get upStartVector =>
    _upStartVector ??
    (_upStartVector = start.directionTo(point(0.001)).rotate(-math.pi * 0.5));