Inherits from CC3NodeBoundingVolume : CC3BoundingVolume : NSObject
Declared in CC3BoundingVolumes.h

Overview

A bounding volume that forms a volume of zero size and location. When applied to a node, this volume will never intersect any other bounding volumes, and will never be considered inside the camera’s frustum.

Properties

shouldDraw

Indicates that this bounding volume should draw itself over the node.

@property (nonatomic, assign) BOOL shouldDraw

Discussion

The null bounding volume will never be drawn. This property will always return NO, and setting this property will have no effect.

Declared In

CC3BoundingVolumes.h

Instance Methods

doesIntersect:

Returns whether this bounding volume intersects the specfied other bounding volume.

- (BOOL)doesIntersect:(CC3BoundingVolume *)aBoundingVolume

Discussion

This implementation always returns NO.

Declared In

CC3BoundingVolumes.h

doesIntersectConvexHullOf:planes:from:

Returns whether a convex hull composed of the specified global planes intersects this bounding volume. The planes may be the face planes of a mesh, or they may be the sides of an oriented bounding box (OBB), or frustum, etc.

- (BOOL)doesIntersectConvexHullOf:(GLuint)numOtherPlanes planes:(CC3Plane *)otherPlanes from:(CC3BoundingVolume *)otherBoundingVolume

Discussion

This implementation always returns NO.

Declared In

CC3BoundingVolumes.h

doesIntersectLocation:

Returns whether the specified global location intersects (is inside) this bounding volume.

- (BOOL)doesIntersectLocation:(CC3Vector)aLocation

Discussion

This implementation always returns NO.

Declared In

CC3BoundingVolumes.h

doesIntersectRay:

Returns whether the specified global-coordinate ray intersects this bounding volume.

- (BOOL)doesIntersectRay:(CC3Ray)aRay

Discussion

This implementation always returns NO.

The shouldIgnoreRayIntersection property has no effect on this implementation.

Declared In

CC3BoundingVolumes.h

doesIntersectSphere:from:

Returns whether the specified global-coordinate sphere intersects this bounding volume.

- (BOOL)doesIntersectSphere:(CC3Sphere)aSphere from:(CC3BoundingVolume *)otherBoundingVolume

Discussion

This implementation always returns NO.

Declared In

CC3BoundingVolumes.h

isInFrontOfPlane:

Returns whether this bounding volume lies completely outside the specified normalized global coordinate plane.

- (BOOL)isInFrontOfPlane:(CC3Plane)aPlane

Discussion

This implementation always returns YES.

Declared In

CC3BoundingVolumes.h