CADability dotNET
Returns the perpendicular foot point of point p on the line through s with direction v

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

Syntax

C#
public static GeoPoint2D DropPL(
	GeoPoint2D p,
	GeoPoint2D s,
	GeoVector2D v
)
Visual Basic
Public Shared Function DropPL ( _
	p As GeoPoint2D, _
	s As GeoPoint2D, _
	v As GeoVector2D _
) As GeoPoint2D
Visual C++
public:
static GeoPoint2D DropPL(
	GeoPoint2D p, 
	GeoPoint2D s, 
	GeoVector2D v
)

Parameters

p
Type: CADability..::..GeoPoint2D
s
Type: CADability..::..GeoPoint2D
Startpoint of the line
v
Type: CADability..::..GeoVector2D
Direction of the line

Return Value

Footpoint

See Also