midp()
Mid Point between two straight lines.
The first two arguments define a straight line. The first is a point on
this line and the second defines the direction of the line. The thrird
and fourth argument define a second line the same way. A
perpendicular is dropped from the first to the second line and the
point in the mid between the two lines is the result value.
Arguments and result types
| argument
1 |
argument
2 |
argument
3 |
argument
4 |
result
|
3d vector
|
3d vector
|
3d vector
|
3d vector
|
3d vector
|
Examples
midp(O1,n1,O2,n2)