You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Distance Metrics » AVL.PointToLineDistance_Oriented
Measures the signed distance between a point and a line with direction.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void PointToLineDistance_Oriented ( AvlNet.Point2D inPoint, AvlNet.Segment2D inLineSection, float inResolution, out float outDistance )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoint | AvlNet.Point2D | ||||
inLineSection | AvlNet.Segment2D | ||||
inResolution | float | <0.0f, INF> | 1.0f | Number of real-world units per one pixel. Default value: 1.0f. | |
outDistance | float |
Function Overrides
- PointToLineDistance_Oriented(Point2D, Segment2D, Single, Single, Segment2D)
- PointToLineDistance_Oriented(Point2D, Segment2D, Single, Single, NullableValue<Segment2D>)