maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Is there any Qt function which gives all the connecting between any two coordinates ? (https://talk.maemo.org/showthread.php?t=56022)

ahmadka 2010-06-12 21:18

Is there any Qt function which gives all the connecting between any two coordinates ?
 
Hi guys ... I was wondering if there's any predefined Qt function which gives a list of connecting points between any two coordinates in a coordinate system, such that the list of connecting points 'connect' the two coordinates so that there are no breaks between them ... Is there any such function ... ?

This is similar to drawing a line between any two coordinates, but instead of drawing the line, you store all the points that would be in that line into an array or something, and pass this array as an output ..

Joorin 2010-06-12 21:35

Re: Is there any Qt function which gives all the connecting between any two coordinates ?
 
Do a search for "Manhattan distance" and you might find what you need.


All times are GMT. The time now is 05:22.

vBulletin® Version 3.8.8