You are here: Start » AVL.NET » AVL.PointToLineDistance
Measures the distance between a point and a line.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void PointToLineDistance ( AvlNet.Point2D inPoint, AvlNet.Line2D inLine, float inResolution, out float outDistance )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoint | AvlNet.Point2D | ||||
inLine | AvlNet.Line2D | ||||
inResolution | float | <0.0f, INF> | 1.0f | Number of real-world units per one pixel. Default value: 1.0f. | |
outDistance | float |
Examples
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Indefinite line on input in PointToLineDistance. |