} else if (!fromVector && toVector) {
        // the last point in the geomCoords sequence
        rightVector = normalizeVector({
          x: toVector.y,
          y: -toVector.x