CADability dotNET
Returns the distance of a point from a line (3d)

Namespace: CADability
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public static double DistPL(
	GeoPoint P,
	GeoPoint lstart,
	GeoPoint lend
)
Visual Basic
Public Shared Function DistPL ( _
	P As GeoPoint, _
	lstart As GeoPoint, _
	lend As GeoPoint _
) As Double
Visual C++
public:
static double DistPL(
	GeoPoint P, 
	GeoPoint lstart, 
	GeoPoint lend
)

Parameters

P
Type: CADability..::..GeoPoint
the point
lstart
Type: CADability..::..GeoPoint
startpoint of the line
lend
Type: CADability..::..GeoPoint
endpoint of the line

Return Value

distance

See Also