Geometry.ComputeBoundingBox Method
Language: Visual Basic C# C++ JScript (Show All)
Computes a coordinate axis-oriented bounding box.
Definition
Visual Basic
Public Shared Sub ComputeBoundingBox ( _ ByVal pointsFvf As Array , _ ByVal vertexFormat As VertexFormats , _ ByRef min As Vector3 , _ ByRef max As Vector3 _ )
C#
public static void ComputeBoundingBox ( Array pointsFvf , VertexFormats vertexFormat , out Vector3 min , out Vector3 max );
C++
public: static void ComputeBoundingBox ( Array ^ pointsFvf , VertexFormats vertexFormat , [Out] Vector3 % min , [Out] Vector3 % max );
JScript
public static function ComputeBoundingBox ( pointsFvf : Array , vertexFormat : VertexFormats , min : Vector3 , max : Vector3 );
Parameters
Remarks
Exceptions
InvalidCallException
The method call is invalid. For example, a method's parameter might contain an invalid value.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center