Blender V4.3
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 23 of file BBox.h.

Constructor & Destructor Documentation

◆ BBox() [1/3]

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

Definition at line 25 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 30 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 35 of file BBox.h.

Member Function Documentation

◆ clear()

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

Definition at line 59 of file BBox.h.

◆ empty()

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

Definition at line 64 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 40 of file BBox.h.

◆ getMax()

◆ getMin()

◆ inside()

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

Definition at line 109 of file BBox.h.

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

◆ operator+=()

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

Definition at line 88 of file BBox.h.

References b, and BLI_assert.

◆ operator=()

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

Definition at line 79 of file BBox.h.

References b, and BLI_assert.


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