You are here: Start » AVL.NET » Function Reference » Basic » Box » AVL.BoxToBoxDistance

AVL.BoxToBoxDistance

Computes minimal distance between one of the points of the first box with one of the points of the second box.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void BoxToBoxDistance
(
	AvlNet.Box inBox1,
	AvlNet.Box inBox2,
	float inResolution,
	out float outDistance
)

Parameters

Name Type Range Default Description
inBox1AvlNet.Box
inBox2AvlNet.Box
inResolutionfloat<0.0f, INF>1.0fDefault value: 1.0f.
outDistancefloat

Function Overrides

See also