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

Invoke.PathToPathDistance

Computes the minimum distance between two paths.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void PathToPathDistance
(
	Avl.Path inPath1,
	Avl.Path inPath2,
	Avl.PathDistanceMode inPathDistanceMode,
	float inResolution,
	out float outDistance,
	Optional<Avl.Segment2D> outConnectingSegment
)

Parameters

Name Type Range Default Description
inPath1Avl.PathFirst input path.
inPath2Avl.PathSecond input path.
inPathDistanceModeAvl.PathDistanceModeDistance measuring method.
inResolutionfloat<0.0f, INF>1.0fDefault value: 1.0f.
outDistancefloatMinimal distance between input paths.
outConnectingSegmentAtl.Optional<Avl.Segment2D>Segment connecting input paths having minimal length.

See also