You are here: Start » AVL.NET » AVS.PathToPathDistance Method

AVS.PathToPathDistance Method

Computes the minimum distance between two paths.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void PathToPathDistance
(
	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.
outDistancefloatMinimal distance between input paths.
outConnectingSegmentAvlNet.Segment2DSegment connecting input paths having minimal length.

Function Overrides

See also