You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Distance Metrics » AVL.PointToLineDistance_Oriented

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
inPointAvlNet.Point2D
inLineSectionAvlNet.Segment2D
inResolutionfloat<0.0f, INF>1.0fNumber of real-world units per one pixel. Default value: 1.0f.
outDistancefloat

Function Overrides

See also