The method for detecting the secondary dimension of two-dimensional projections in numerical control processing