Blender V4.3
boundbox.h File Reference
#include <float.h>
#include <math.h>
#include "util/transform.h"
#include "util/types.h"

Go to the source code of this file.

Classes

class  BoundBox
 
class  BoundBox2D
 

Functions

__forceinline BoundBox merge (const BoundBox &bbox, const float3 &pt)
 
__forceinline BoundBox merge (const BoundBox &a, const BoundBox &b)
 
__forceinline BoundBox merge (const BoundBox &a, const BoundBox &b, const BoundBox &c, const BoundBox &d)
 
__forceinline BoundBox intersect (const BoundBox &a, const BoundBox &b)
 
__forceinline BoundBox intersect (const BoundBox &a, const BoundBox &b, const BoundBox &c)
 

Function Documentation

◆ intersect() [1/2]

◆ intersect() [2/2]

__forceinline BoundBox intersect ( const BoundBox & a,
const BoundBox & b,
const BoundBox & c )

Definition at line 183 of file boundbox.h.

References b, and intersect().

◆ merge() [1/3]

__forceinline BoundBox merge ( const BoundBox & a,
const BoundBox & b )

Definition at line 165 of file boundbox.h.

References b, and min.

◆ merge() [2/3]

__forceinline BoundBox merge ( const BoundBox & a,
const BoundBox & b,
const BoundBox & c,
const BoundBox & d )

Definition at line 170 of file boundbox.h.

References b, and merge().

◆ merge() [3/3]

__forceinline BoundBox merge ( const BoundBox & bbox,
const float3 & pt )

Definition at line 160 of file boundbox.h.

References BoundBox::max, BoundBox::min, and min.

Referenced by merge().