add to getCornerAngle and getFieldLength funcion