when I use GetLineOnALine, the node I use is at the end of the line, but the return line I got is longer than the previous one.
LineShape line2 = line1.GetLineOnALine(StartingPoint.FirstPoint, point1) as LineShape;
line1.Vertices
Count = 3
[0]: {X: 728022.3451; Y: -11526.3955}
[1]: {X: 724338.9768; Y: -14066.6495}
[2]: {X: 723261.3690; Y: -14352.6781}
point1: {X: 723261.3690; Y: -14352.6781}
line2.Vertices
Count = 4
[0]: {X: 728022.3451; Y: -11526.3955}
[1]: {X: 724338.9768; Y: -14066.6495}
[2]: {X: 723261.3690; Y: -14352.6781}
[3]: {X: 723606.9737; Y: -14313.0306}
You can see, after this method is called, the return line(line2) extend to another node, makes it longer than line1.
I use this method to calculate the length from startpoint of line1 to point1. So if it has bug, is there any workaround to calculate the length I need ?