Technical question about the log content (coordinates)

I've been looking in the Netlog file at the data that is there, something is really interesting me.

Here's a relevent extract from the log.

{17:03:08} System:6(Yembo) Body:0 Pos:(-1.51007e+010,-2.85317e+008,-4.20612e+009) cruising
{17:16:11} System:5(Huilliche) Body:2 Pos:(8.69806e+009,-4.26981e+009,-1.22683e+010) cruising

The part that I'm interested in is the Pos:(x,y,z) part.

My question simple is how can I use those figures to see how far apart two star systems are?

I've tried

Sqrt( (x1-x2)^2 + (y1-y2)^2 + (z1-z2)^2 ) but that doesn't some out anywhere near 17 light years.

Can someone enlighten me as there are trading tools that seem to make use of this data.
 
Last edited:
Back
Top Bottom