You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » AVL.SplitPointsByLine
Separates the points being on one side of the input line from the others.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void SplitPointsByLine ( IList<AvlNet.Point2D> inPoints, AvlNet.Line2D inLine, IList<AvlNet.Point2D> outPoints1, IList<AvlNet.Point2D> outPoints2 )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inPoints | System.Collections.Generic.IList<AvlNet.Point2D> | Input points. | ||
![]() | inLine | AvlNet.Line2D | Line used for splitting. | ||
![]() | outPoints1 | System.Collections.Generic.IList<AvlNet.Point2D> | Points with positive signed distance to the input line. | ||
![]() | outPoints2 | System.Collections.Generic.IList<AvlNet.Point2D> | Points with negative signed distance to the input line. |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Indefinite line on input in SplitPointsByLine. |


