let's rename this function to be something slightly more meaningful :) how about `calcEdgeControlPoints`?