Blender V5.0
Freestyle::BBox< Point > Class Template Reference

#include <BBox.h>

Public Member Functions

 BBox ()
template<class T>
 BBox (const T &min_in, const T &max_in)
template<class T>
 BBox (const BBox< T > &b)
template<class T>
void extendToContain (const T &p)
void clear ()
bool empty () const
const Point & getMin () const
const Point & getMax () const
BBox< Point > & operator= (const BBox< Point > &b)
BBox< Point > & operator+= (const BBox< Point > &b)
bool inside (const Point &p)

Detailed Description

template<class Point>
class Freestyle::BBox< Point >

Definition at line 21 of file BBox.h.

Constructor & Destructor Documentation

◆ BBox() [1/3]

template<class Point>
Freestyle::BBox< Point >::BBox ( )
inline

Definition at line 23 of file BBox.h.

Referenced by BBox(), operator+=(), and operator=().

◆ BBox() [2/3]

template<class Point>
template<class T>
Freestyle::BBox< Point >::BBox ( const T & min_in,
const T & max_in )
inline

Definition at line 28 of file BBox.h.

References T.

◆ BBox() [3/3]

template<class Point>
template<class T>
Freestyle::BBox< Point >::BBox ( const BBox< T > & b)
inline

Definition at line 33 of file BBox.h.

References b, BBox(), getMax(), and getMin().

Member Function Documentation

◆ clear()

template<class Point>
void Freestyle::BBox< Point >::clear ( )
inline

Definition at line 57 of file BBox.h.

◆ empty()

template<class Point>
bool Freestyle::BBox< Point >::empty ( ) const
inline

Definition at line 62 of file BBox.h.

Referenced by Freestyle::Node::AddBBox(), and inside().

◆ extendToContain()

template<class Point>
template<class T>
void Freestyle::BBox< Point >::extendToContain ( const T & p)
inline

Definition at line 38 of file BBox.h.

References i, and T.

◆ getMax()

◆ getMin()

◆ inside()

template<class Point>
bool Freestyle::BBox< Point >::inside ( const Point & p)
inline

Definition at line 107 of file BBox.h.

References empty(), and i.

Referenced by Freestyle::Grid::initInfiniteRay().

◆ operator+=()

template<class Point>
BBox< Point > & Freestyle::BBox< Point >::operator+= ( const BBox< Point > & b)
inline

Definition at line 86 of file BBox.h.

References b, BBox(), BLI_assert, and i.

◆ operator=()

template<class Point>
BBox< Point > & Freestyle::BBox< Point >::operator= ( const BBox< Point > & b)
inline

Definition at line 77 of file BBox.h.

References b, BBox(), and BLI_assert.


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