DirectAnimation Animated Header --Bbox3Bvr Class DirectAnimation Animated Header --Bbox3Bvr Class* Microsoft DirectAnimation SDK
*Index  *Topic Contents
*Previous Topic: Bbox2Bvr Class
*Next Topic: Behavior Class

Bbox3Bvr Class


public class Bbox3Bvr extends Behavior {
    // Methods
    public Point3Bvr getMax();
    public Point3Bvr getMin();
        
    public static Bbox3Bvr newUninitBvr();
    
}

Creates an object that represents a three-dimensional bounding box behavior. The behavior specifies the back-lower-left and forward-upper-right corners of a cube that encloses the non-transparent portions of a geometry behavior. Although a bounding box may not always be the smallest bounding box achievable for the geometry, it is useful for determining the extent or size of the visible portions of the geometry.

Applications never create bounding box behaviors explicitly. Instead, these behaviors are created by calling the boundingBox method in the GeometryBvr class.

For more information about behaviors, see the Behavior class.

Bbox3Bvr Methods

bullet1.gifgetMax

bullet1.gifgetMin

bullet1.gifnewUninitBvr();


getMax

Bbox3Bvr Class

Creates a three-dimensional point behavior that specifies the forward-upper-right corner of the bounding box.

public Point3Bvr getMax( );

Return Values

Returns the Point3Bvr object.

See Also

getMin


getMin

Bbox3Bvr Class

Creates a three-dimensional point behavior that specifies the back-lower-left corner of the bounding box.

public Point3Bvr getMin( );

Return Values

Returns the Point3Bvr object.

See Also

getMax


newUninitBvr();

Bbox3Bvr Class

Makes it possible to refer to a three-dimensional bounding box behavior before that behavior has been defined. With this method, it is possible to create the behavior and use it in the definition of other behaviors, but not actually define its contents until some later point. (This is accomplished with the init method, which is available on all behaviors.) The system generates a run-time error if you initialize a non-uninitialized behavior, initialize an uninitialized behavior that has already been initialized, or run an initialized behavior that has not yet been initialized.

public static Bbox3Bvr newUninitBvr( );

Return Values

Returns the Bbox3Bvr object.

© 1998 Microsoft Corporation. All rights reserved. Terms of Use.

*Top of Page