double edgeDelta(double nozzleDiameter, double width, const GPoint &v)
{
    return width/2.0L*cos(asin(v.vectorLength()/width*2.0L))-nozzleDiameter/2.0L;
}