Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 06-13-2009, 04:32 PM   #10 (permalink)
Chilibird
Registered Member
 
Join Date: Dec 2008
Posts: 223
Default

What about vector algebra?

distanceTotal = sqrt(distance.x^2 + distance.y^2); //Magnitude of the vector is equal to the rooted squares of its components

I haven't used the CL library, but if you can get a meaningful unit of measurement (I.E- turning latitude and longitude into a useful measure of distance), it should be as simple as that to get the distance.
Chilibird is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,739
Threads: 89,195
Posts: 380,542
Top Poster: BrianSlick (7,129)
Welcome to our newest member, Realtor Email List
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:34 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.