You are here: Start » AVL.NET » Function Reference » Path » Path Metrics » AVL.PathToLineDistanceProfile

AVL.PathToLineDistanceProfile

Computes the profile of distances between a line and the characteristic points of a path.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void PathToLineDistanceProfile
(
	AvlNet.Path inPath,
	AvlNet.Line2D inLine,
	float inResolution,
	AvlNet.Profile outDistanceProfile
)

Parameters

Name Type Range Default Description
inPathAvlNet.PathInput path.
inLineAvlNet.Line2DInput line.
inResolutionfloat<0.0f, INF>1.0fNumber of real-world units per one pixel. Default value: 1.0f.
outDistanceProfileAvlNet.ProfileProfile of distances between input line and consecutive points of input path.

Errors

List of possible exceptions:

Error type Description
DomainError Indefinite line on input in PathToLineDistanceProfile.

Function Overrides

See also