The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Declaration:function Distance (px, py: double): double;

The function Distance calculates the normal distance of the point [px, py] from the line. Please note that the distance can be positive or negative, depending on which side of the line the point [px, py] is located.

Last Update: 2017-Jšn-23