Distance calculation?

mean you

hopper…setElevation(true) or hopper…setElevation(false)…that would be clear to me. But then i must create the Poinlist twice (2D and 3D).

but i have as standard setElevation(true) and have then 3D Poinlist with my elevation charts.

My question is how can i calculate the different distances from a 3D Pointlist (lat,long, ele).

If that not possible, ignore the question.