ufe 6.2
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
Ufe::BBox3d Struct Reference

3D bounding box class. More...

#include <types.h>

Collaboration diagram for Ufe::BBox3d:

Public Member Functions

 BBox3d ()
 Create an empty bounding box. More...
 
 BBox3d (const Vector3d &aMin, const Vector3d &aMax)
 
bool empty () const
 

Public Attributes

Vector3d min
 
Vector3d max
 

Detailed Description

3D bounding box class.

Axis-aligned 3D bounding box class. Considered empty if the minimum in any dimension is greater than the maximum.

Definition at line 199 of file types.h.

Constructor & Destructor Documentation

◆ BBox3d() [1/2]

Ufe::BBox3d::BBox3d ( )
inline

Create an empty bounding box.

Definition at line 205 of file types.h.

References Ufe::TypedVectorN< T, SZ >::vector.

◆ BBox3d() [2/2]

Ufe::BBox3d::BBox3d ( const Vector3d aMin,
const Vector3d aMax 
)
inline

Definition at line 210 of file types.h.

Member Function Documentation

◆ empty()

bool Ufe::BBox3d::empty ( ) const
inline

Definition at line 212 of file types.h.

References Ufe::TypedVectorN< T, SZ >::x(), Ufe::TypedVectorN< T, SZ >::y(), and Ufe::TypedVectorN< T, SZ >::z().

Here is the call graph for this function:

Member Data Documentation

◆ max

Vector3d Ufe::BBox3d::max

Definition at line 202 of file types.h.

Referenced by Ufe::operator<<().

◆ min

Vector3d Ufe::BBox3d::min

Definition at line 201 of file types.h.

Referenced by Ufe::operator<<().


The documentation for this struct was generated from the following file: