Computes the perpendicular dropped from the line onto another line.
Namespace:
ceometric.VectorGeometryAssembly: 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 perpendicular to the line and line.
Remarks
The perpendicular edge starts on the line and ends on line.
The perpendicular line does not exist if the lines are not skew.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentException | The lines are parallel. |