Most useful are comments that appear in a program listing and explain the logic.
And it introduces the basic principle and measuring method of digitalization settingout of chamfer stake, gives program listing for calculating stake point coordinate.