[This is preliminary documentation and is subject to change.]

Gets the minimum and maximum bounds of the AABB which contains the array of points.

Namespace: org.critterai
Assembly: cai-util (in cai-util.dll) Version: 0.5.0.0 (0.5.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void GetBounds(
	Vector3[] vectors,
	int count,
	out Vector3 boundsMin,
	out Vector3 boundsMax
)
Public Shared Sub GetBounds ( _
	vectors As Vector3(), _
	count As Integer, _
	<OutAttribute> ByRef boundsMin As Vector3, _
	<OutAttribute> ByRef boundsMax As Vector3 _
)
public:
static void GetBounds(
	array<Vector3>^ vectors, 
	int count, 
	[OutAttribute] Vector3% boundsMin, 
	[OutAttribute] Vector3% boundsMax
)

Parameters

vectors
array<Vector3>[]()[][]
An array of points.
count
Int32
The number of points in the array.
boundsMin
Vector3%
The mimimum bounds of the AABB.
boundsMax
Vector3%
The maximum bounds of the AABB.

See Also