andyhill
  
Australia
159 Posts |
Posted - Feb 09 2025 : 14:20:28
|
User draws polygon by tracing floor plan image where the end result (polygon points) need fine tuning:-
X1 = 100, Y1 = 101, X2 = 503, Y2 = 105 X3 = 507, Y1 = 102, X4 = 503, Y2 = 305
becomes
X1 = 100, Y1 = 100, X2 = 500, Y2 = 100 X3 = 500, Y3 = 100, X4 = 500, Y4 = 300
Many years ago there was a Delphi CAD library that had an "iso" option to tidy up points, can we do this with ImageEn points ?
If not can anyone show me an optimized way ? Obviously there would need to be a tolerance factor.
Andy |
|