You are here: Start » AVL.NET » AVL.PathToPathMaximumDistance

AVL.PathToPathMaximumDistance

Computes the distance between the farthest point of the input path from the other path.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void PathToPathMaximumDistance
(
	AvlNet.Path inPath1,
	AvlNet.Path inPath2,
	AvlNet.PathDistanceMode inPathDistanceMode,
	float inResolution,
	out float outDistance,
	out AvlNet.Segment2D outConnectingSegment
)

Parameters

Name Type Range Default Description
inPath1AvlNet.PathFirst input path.
inPath2AvlNet.PathSecond input path.
inPathDistanceModeAvlNet.PathDistanceModeDistance measuring method.
inResolutionfloat<0.0f, INF>1.0fDefault value: 1.0f.
outDistancefloatDistance between farthest point of the input path the other input path.
outConnectingSegmentAvlNet.Segment2DSegment connecting input paths having such distance

Errors

Error type Description
DomainError One or both input paths are empty in PathToPathMaximumDistance.

See also