I have set of random points in the workspace as shown in the figure. I want to automatically dimension those points (Linear dimension only) in the best possible way by using any programming language as shown in the right image (for example). Is there any better algorithm for doing it?
sample Image.png