Sign in to follow this  

Nearest point find in 3d points in DB

This topic is 3151 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have values in database of points x ,y z.I need to find the nearst point in databse with my current points i implement this algorithm but its take lots of time i want efficent algorithm Note:(this algorithm is same as find smallest number in array) nearstdistance=firstdistance in db values loop (untill all values in databse) find distance between current points and current databse points if distance<nearesrdistance nearesrdistance=distance end loop its takes lots of time beacuse number of current points are so many per sec. tell me best way through distance formula.

Share this post


Link to post
Share on other sites

This topic is 3151 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this