Monchopper
Posts: 14
Joined: Fri Aug 13, 2004 2:02 pm
Location: United Kingdom

Point half way between two points

Wed May 30, 2007 2:21 am

Hi All

I want to put an ellipse on a line at the half way point.

How can I work out that half way point?

Cheers

User avatar
johan
GpsGate
Posts: 15429
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: Point half way between two points

Wed May 30, 2007 9:59 am

To get the true geographical mid point, follow those steps:

1. Check the distance between the two points using Position.Distance()
http://franson.com/gpstools/reference_manual.asp?comp=tools&class=Position&item=Distance&platform=net

2. Check the bearing between from point one to point 2 using Position.Bearing()
http://franson.com/gpstools/reference_manual.asp?comp=tools&class=Position&item=Bearing&platform=net

3. Use Position.Move() from point one, using the distance and bearing from above.
http://franson.com/gpstools/reference_manual.asp?comp=tools&class=Position&item=Move&platform=net

Regards,
Johan

Franson Support

Return to “GpsTools”