You are here: Start » AVL.NET » AVL.PathToLineDistance(AvlNet.Path, AvlNet.Line2D, float, float)

AVL.PathToLineDistance(AvlNet.Path, AvlNet.Line2D, float, float)

Computes the smallest distance between a path and a line.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void PathToLineDistance(
	AvlNet.Path inPath,
	AvlNet.Line2D inLine,
	float inResolution,
	out float outDistance
)

Parameters

inPath
Type: AvlNet.Path
Input path
inLine
Type: AvlNet.Line2D
Input line
inResolution
Type: System.Single
Number of real-world units per one pixel
outDistance
Type: System.Single
Minimal distance between input path and input line

See also