given a straight line defined by a position and direction this function returns the closest positions on the straight line and this line
| pOrigin | VARIANT | An array of 3 real numbers, representing 3d coordinates any position on the straight line |
| pDirection | VARIANT | An array of 3 real numbers, representing 3d coordinates direction vector of the straight line |
| pPointOnStraightLine | VARIANT | An array of 3 real numbers, representing 3d coordinates returned closest position on the straight line |
| pPointOnThisLine | VARIANT | An array of 3 real numbers, representing 3d coordinates returned closest position on this line |
| pIsValidSolution | VARIANT | flag indicating validity of solutions +1 valie, -1 invalid |
| Return value | none |
Back to Line
Back to Overview