Data Structures | Functions
ai_bbox.h File Reference

Axis-aligned bounding box types and utilities. More...

#include "ai_vector.h"
#include "ai_api.h"
#include <limits>

Go to the source code of this file.

Data Structures

struct  AtBBox
 3D axis-aligned bounding box (uses single-precision) More...
 
struct  AtBBox2
 2D axis-aligned bounding box (uses integers) More...
 

Functions

AtBBox AiBBoxUnion (const AtBBox &b1, const AtBBox &b2)
 Compute the "union" of two bboxes. More...
 
AtBBox AiBBoxIntersection (const AtBBox &b1, const AtBBox &b2)
 Compute the intersection of two bboxes.
 
AtBBox AiBBoxLerp (float k, const AtBBox &lo, const AtBBox &hi)
 Linear interpolation between two bboxes (k=0 -> bbox=lo, k=1 -> bbox=hi)
 
Constants

Detailed Description

Axis-aligned bounding box types and utilities.


© 2022 Autodesk, Inc. · All rights reserved · www.arnoldrenderer.com