sincos, why not
cossin? I have no idea why
sincos is here and not
cossin (perhaps because of the “awkward”
ss in the name…), but for me the convention of
xy in a 2D coordinate means that calculating a new coordinate from a known point, angle, and distance is awkward with a
xy = SVector(1.0,2.0) α = π/2 l = 1 xy2 = xy + l*SVector(sincos(α))[2:-1:1] # note the reordering of the elements
Maybe you have an explanation or a better solution?