Hi

I am trying to solve a real tough problem ANY HELP WILL BE REALLY APPRECIATED.

I am trying to simulate planes flying within a sector, i need to check whether they have a specified horizontal seperation (if at same altitude) or vertical seperation. I need a algorithm which will help me calculate shortest distance between two lines within a time interval., i have starting x1,y1 coordinate and ending x2,y2 coordinate, the user will enter the altitude, speed and time entered and exited from the sector.

Please help

thanks

nimesh