Compute the distance from segment AB to C

Namespace:  EGIS.ShapeFileLib
Assembly:  EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)

Syntax

Visual Basic
Public Shared Function LineSegPointDist ( _
	ByRef a As PointD, _
	ByRef b As PointD, _
	ByRef c As PointD _
) As Double
C#
public static double LineSegPointDist(
	ref PointD a,
	ref PointD b,
	ref PointD c
)
Visual C++
public:
static double LineSegPointDist(
	PointD% a, 
	PointD% b, 
	PointD% c
)
JavaScript
EGIS.ShapeFileLib.GeometryAlgorithms.lineSegPointDist = function(a, b, c);

Return Value

See Also