You are here: Start » AVL.NET » AVL.JoinAdjacentPaths(AvlNet.Path[], float, float, float, float, AvlNet.Path[])

AVL.JoinAdjacentPaths(AvlNet.Path[], float, float, float, float, AvlNet.Path[])

Joins those paths of an array which endpoints lie near enough.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void JoinAdjacentPaths(
	AvlNet.Path[] inPaths,
	float inMaxJoiningDistance,
	float inMaxJoiningAngle,
	float inJoiningDistanceBalance,
	float inMinPathLength,
	out AvlNet.Path[] outPaths
)

Parameters

inPaths
Type: AvlNet.Path
inMaxJoiningDistance
Type: System.Single
Maximal distance between edges that can be joined
inMaxJoiningAngle
Type: System.Single
Maximal allowed angle between edges being joined
inJoiningDistanceBalance
Type: System.Single
Determines how important distance between paths is according to their angle difference
inMinPathLength
Type: System.Single
Minimal length of a path
outPaths
Type: AvlNet.Path

Remarks

See full override for more details.

See also