You are here: Start » AVL.NET » Invoke.PointToLineDistance
Measures the distance between a point and a line.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void PointToLineDistance ( Avl.Point2D inPoint, Avl.Line2D inLine, float inResolution, out float outDistance, Optional<Avl.Segment2D> outConnectingSegment, Optional<float> outSignedDistance )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inPoint | Avl.Point2D | |||
![]()  | inLine | Avl.Line2D | |||
![]()  | inResolution | float | <0.0f, INF> | 1.0f | Number of real-world units per one pixel. Default value: 1.0f. | 
![]()  | outDistance | float | |||
![]()  | outConnectingSegment | Atl.Optional<Avl.Segment2D> | |||
![]()  | outSignedDistance | Atl.Optional<float> | 


