I thought that the line orientation between two consecutive nodes will always located on quadrant I (just like the data on your first example file), never thought that your data (on the other files which I didn't see before) can be located on all quadrants (I to IV). Here is the amended code :
Now for first file (on post #1) and "Test2.xls" file, it will show the same result with your manual calculation.
As for file "Test3.xls" file, there are 3 nodes different with your manual calculation, they are :
- SL 9 (at row 11)
- SL 37 (at row 39)
- SL 93 (at row 95)
All these 3 nodes are located exactly on base nodes at table Sheet1!A:C (not interpolated liked other nodes), for example :
- SL 9 (at row 11) of right table, is exactly at SL 6 (at row 8) of left table
- SL 37 (at row 39) of right table, is exactly at SL 24 (at row 26) of left table
- SL 93 (at row 95) of right table, is exactly at SL 47 (at row 49) of left table
and I don't know your manual formula that yields these 3 nodes (I have searched for hours, and still don't know what formula you are using for them).
No, it is too complex and will slow down the calculation very much.
Originally Posted by sanju2323