SolidKit3D.Math3D.PointToLineSegmentDistanceSquared
From Solid Graphics Wiki
(Redirected from Math3D.PointToLineSegmentDistanceSquared)
| ||||||||
The PointToLineSegmentDistanceSquared function returns square of shortest distance from line segment to point.
public static float PointToLineSegmentDistanceSquared
(
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 segment |
| P1 | x,y,z coordinates of second point defining the line segment |
Return Value
The square of shortest distance from the line segment to the point.
See Also
