GEOdistancePointLine

Top  Previous  Next

Distance regulation of point and line.

With this routine the distance is determined between point and line. In addition the plumb line on the line is liked by the point. If the plumb line does not fall on the line, the distance is determined to the nächstliegenden point of the line.

Parametre

x (const stands in) [IN]

y (const stands in) [IN]

Co-ordinates of the point.

sx (const stands in) [IN]

sy (const stands in) [IN]

Starting point of the line.

ex (const stands in) [IN]

ey (const stands in) [IN]

Terminator point of the line.

Result

(STAND-IN) [OUT]

Distance of point to the line.

Declaration

#include "basic.h"

 

STAND-IN DLLENTRY GEOdistancePointLine (

const stands in x,

const stands in y,

const stands in sx,

const stands in sy,

const stands in ex,

const stands in ey

);

Related functions

GEOdistance

GEOdistanceArcArc

GEOdistanceCircleArc

GEOdistanceCircleCircle

GEOdistanceLineArc

GEOdistanceLineCircle

GEOdistanceLineLine

GEOdistancePointArc

GEOdistancePointCircle

GEOdistanceSquare