Given a straight line defined by a position and direction, this function returns the closest positions on the straight line and this line
| Origin | VARIANT | An array of 3 real numbers, representing 3d coordinates Any position on the straight line |
| Direction | VARIANT | An array of 3 real numbers, representing 3d coordinates Direction vector of the straight line |
| PointOnStraightLine | VARIANT | An array of 3 real numbers, representing 3d coordinates Returned closest position on the straight line |
| PointOnThisLine | VARIANT | An array of 3 real numbers, representing 3d coordinates Returned closest position on this line |
| IsValidSolution | integer | Flag indicating validity of solutions +1 valid, -1 invalid |
| Return value | none |
Back to Line
Back to Overview