You are here: Start » AVL.NET » AVL.ProjectPointsOnLine Method
AVL.ProjectPointsOnLine Method
Projects points onto a line.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void ProjectPointsOnLine( AvlNet.Point2D[] inPoints, AvlNet.Line2D inLine, out AvlNet.Point2D[] outProjectionPoints )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inPoints | AvlNet.Point2D | |||
![]() | inLine | AvlNet.Line2D | |||
![]() | outProjectionPoints | AvlNet.Point2D |
Description
The orientation of the resulting outProjectionSegment is always between 0 and 180 degrees.
Examples
![]() |
![]() |
ProjectPointsOnLine performed on points and line.
Errors
| Error type | Description |
|---|---|
| DomainError | Indefinite line on input in ProjectPointsOnLine. |




