Blender  V3.3
Public Member Functions | List of all members
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.

◆ 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.

◆ 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.

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 Freestyle::BBox< Point >::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.

◆ getMax()

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

◆ getMin()

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

◆ inside()

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

Definition at line 107 of file BBox.h.

References Freestyle::BBox< Point >::empty().

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 usdtokens::b(), and BLI_assert.

◆ operator=()

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

Definition at line 77 of file BBox.h.

References usdtokens::b(), and BLI_assert.


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