Computes a perpendicular dropped from the point on an object.

Namespace:  ceometric.VectorGeometry
Assembly:  ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)

Syntax

C#
public Edge PerpendicularOn(
	Line line
)
Visual Basic (Declaration)
Public Function PerpendicularOn ( _
	line As Line _
) As Edge
Visual C++
public:
Edge^ PerpendicularOn(
	Line^ line
)

Parameters

line
Type: ceometric.VectorGeometry..::.Line
A line the perpendicular is dropped onto.

Return Value

Returns an edge starting at the point and ending at the base point of the perpendicular dropped from the point onto line.

Returns a zero-length edge if the point lies on the line.

See Also