You are here: Start » AVL.NET » Invoke.PathToLineDistanceProfile

Invoke.PathToLineDistanceProfile

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

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void PathToLineDistanceProfile
(
	Avl.Path inPath,
	Avl.Line2D inLine,
	float inResolution,
	Avl.Profile outDistanceProfile,
	Optional<List<float>> outDistances,
	Optional<List<Avl.Segment2D>> outConnectingSegments
)

Parameters

Name Type Range Default Description
inPathAvl.PathInput path.
inLineAvl.Line2DInput line.
inResolutionfloat<0.0f, INF>1.0fNumber of real-world units per one pixel. Default value: 1.0f.
outDistanceProfileAvl.ProfileProfile of distances between input line and consecutive points of input path.
outDistancesAtl.Optional<System.Collections.Generic.List<float>>Distances between input line and consecutive points of input path.
outConnectingSegmentsAtl.Optional<System.Collections.Generic.List<Avl.Segment2D>>Segments connecting input line and consecutive points of input path having minimal length.

See also