Good day,
a mathematical or logical question rather than a direct coding one. How do I write an extract from a worksheet where points are stored but with an unknown number?
List<MapPoint> lineMapPoints = new List<MapPoint>() {
I do not know if I explained it enough, if there were any ambiguities feel free to ask me :)
Thank you all for any advice
Improve:
I would like to list all the points from the list, even if I don't know their number. For example pts[0] we know that is the first point
pts[numPts - 1] indicates last
But I don´t know how to write other points whether you need 30 or just 2 in between
What I have tried:
List<MapPoint> lineMapPoints = new List<MapPoint>() { pts[numPts/2], pts[numPts - 1] , pts[0] };
I have tried this but it is seriously insufficient to solve :D
numpts= number of points int
pts= points
Improve: My solution contains only the first, last and half point (but this is insufficient)