Distance of two lines in space R3 Andreas Pester Carinthia Tech Institute, Villach
pester@cti.ac.at Abstract: Matlab-Webserver simulation to demonstrate two lines in space and their shortest distance

Computes and plotes two lines g1 and g2 in R3, given by a point-direction-formula, the connection line between the two points and the line with the shortest distance between the two lines

g1: OA + t*u
g2: OB + s*v

and plots the results

Define g1 and g2

OA

u

OB

v