You are here: Start » AVL.NET » Invoke.PointToLineDistance_Oriented
Measures the signed distance between a point and a line with direction.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void PointToLineDistance_Oriented ( Avl.Point2D inPoint, Avl.Segment2D inLineSection, float inResolution, out float outDistance, Optional<Avl.Segment2D> outConnectingSegment )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoint | Avl.Point2D | |||
![]() | inLineSection | Avl.Segment2D | |||
![]() | 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> |