Vector2D DistanceToLine Method Delta Engine Documentation
http://en.wikipedia.org/wiki/Distance_from_a_point_to_a_line View code on GitHub

Namespace: DeltaEngine.Datatypes
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public float DistanceToLine(
	Vector2D lineStart,
	Vector2D lineEnd
)

Return Value

Type: Single
See Also