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

AVS.PathToPointDistance Method

Computes the smallest distance between a path and a point.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void PathToPointDistance
(
	AvlNet.Point2D inPoint,
	AvlNet.Path inPath,
	float inResolution,
	out float outDistance
)

Parameters

Name Type Range Default Description
inPointAvlNet.Point2DInput point.
inPathAvlNet.PathInput path.
inResolutionfloat<0.0f, INF>1.0fDefault value: 1.0f.
outDistancefloatMinimal distance between input path and input point.

Function Overrides

See also