ThreeDModel.GetGroupBoundingBox(String, Array, Array) Method

Top 

Description

Calculates the bounding box of the vertices for a defined group. Initializes the boundingBoxPosition and boundingBoxSize arrays with the position and size of the bounding box for group specified by groupName. Returns the volume of the box in km^3.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

ThreeDModel.GetGroupBoundingBox(

String groupName,


Array boundingBoxPosition,


Array boundingBoxSize)

 

 

Arguments

groupName


Description:

The name of the group for which the bounding box will be calculated.

 

 

boundingBoxPosition


Description:

Array to initialize with the location of the center of the bounding box in km with respect to the Spacecraft BCS.

Required Size:

At least 3

 

 

boundingBoxSize


Description:

Array to initialize with the length, width, and height of the bounding box in km with respect to the Spacecraft BCS.

Required Size:

At least 3

 

 

 

Return Value

Type:

number

Units:

km^3

 

 

Returns the volume of the bounding box.

 

Syntax

myVariable1 = myThreeDModel1.GetGroupBoundingBox(myString1, myArray1, myArray2);

 

 

See also

ThreeDModel Object

ThreeDModel.GetGroupBoundingBox

Vehicle 3D Models Guide