Blender V5.0
boundbox.h File Reference
#include <cfloat>
#include <cmath>
#include "util/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 189 of file boundbox.h.

References __forceinline, b, and intersect().

◆ merge() [1/3]

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

Definition at line 171 of file boundbox.h.

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

◆ merge() [2/3]

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

Definition at line 176 of file boundbox.h.

References __forceinline, b, and merge().

◆ merge() [3/3]

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

Definition at line 166 of file boundbox.h.

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

Referenced by merge().