Computes the perpendicular dropped from the line onto an edge.

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

Syntax

C#
public Edge PseudoPerpendicularOn(
	Edge edge
)
Visual Basic (Declaration)
Public Function PseudoPerpendicularOn ( _
	edge As Edge _
) As Edge
Visual C++
public:
Edge^ PseudoPerpendicularOn(
	Edge^ edge
)

Parameters

edge
Type: ceometric.VectorGeometry..::.Edge
An edge the perpendicular is dropped onto.

Return Value

Returns an edge perpendicular to the line and edge if the end point of the perpendicular lies on the edge. Returns an edge perpendicular to the line ending at one of the start or end point of the edge if the end point of the perpendicular does not lie on the edge.

Remarks

The perpendicular edge starts on the line and ends on edge. The perpendicular line does not exist if the line and the edge are not skew.

Exceptions

ExceptionCondition
System..::.ArgumentExceptionThe edge and the line are parallel.

See Also