SolidKit3D.Math3D.PointToLineDistanceSquared
From Solid Graphics Wiki
| ||||||||
The PointToLineDistanceSquared function returns square of shortest distance from line to point.
public static float PointToLineDistanceSquared
(
ref Point rkPoint,
ref Point P0,
ref Point P1
);
Parameters
| rkPoint | x,y,z coordinates of the point |
| P0 | x,y,z coordinates of first point defining the line |
| P1 | x,y,z coordinates of second point defining the line |
Return Value
The square of shortest distance from the line to the point.
See Also
