Geometry 3D

Intersection of two Lines 3D

Given two lines the program computes their point of intersection, the angle of intersection and their distances from the origin.

The two lines may be given in parametric representation or by two points.

If they don't have any common point their distance and the foots of the common perpendicular are calculated.

Example:

    ->  | 5 |     | 0 |
g : x = | 0 | + r·| 1 |
        | 0 |     | 1 |

    ->  | 0 |     | 1 |
h : x = | 5 | + s·| 0 |
        | 0 |     | 1 |

Intersection point of g and h : S(5|5|5)

Intersection angle of g and h : 60°

Distances from origin :
  d(O,g)=5  d(O,h)=5

Example with skew lines:

    ->  | 10 |     | 0 |
g : x = |  0 | + r·| 1 |
        |  0 |     |-1 |

    ->  | 0 |     | 1 |
h : x = | 5 | + s·| 0 |
        | 0 |     | 5 |

Skew lines
  Distance d(g,h)=10,584755

Foots of the common perpendicular       
  F1(10|2,963|-2,963)   
  F2(-0,18519|5|-0,92593)

The diagram can be panned with the left mouse button and be zoomed with the right mouse button.

See also:

Graphics 3D
eng.matheass.eu