A multi-dimensional box.  
 More...
#include <gf/Box.h>
 | 
| constexpr  | Box () noexcept | 
|   | 
| constexpr  | Box (Vector< T, N > p0, Vector< T, N > p1) noexcept | 
|   | 
| constexpr  | Box (const T(&p0)[N], const T(&p1)[N]) noexcept | 
|   | 
| constexpr  | Box (Vector< T, N > p) noexcept | 
|   | 
| constexpr Vector< T, N >  | getSize () const noexcept | 
|   | 
| constexpr bool  | isEmpty () const noexcept | 
|   | 
| constexpr Vector< T, N >  | getCenter () const noexcept | 
|   | 
| constexpr bool  | contains (Vector< T, N > point) const noexcept | 
|   | 
| constexpr bool  | contains (const Box< T, N > &other) const noexcept | 
|   | 
| constexpr bool  | intersects (const Box< T, N > &other) const noexcept | 
|   | 
| Box< T, N >  | getIntersection (const Box< T, N > &other) const noexcept | 
|   | 
| T  | getIntersectionVolume (const Box< T, N > &other) const noexcept | 
|   | 
| T  | getIntersectionExtentDistance (const Box< T, N > &other) const noexcept | 
|   | 
| constexpr void  | extend (const T(&point)[N]) noexcept | 
|   | 
| constexpr void  | extend (Vector< T, N > point) noexcept | 
|   | 
| constexpr void  | extend (const Box< T, N > &other) noexcept | 
|   | 
| constexpr Box< T, N >  | getExtended (const Box< T, N > &other) const noexcept | 
|   | 
| constexpr T  | getVolume () const noexcept | 
|   | 
| constexpr T  | getExtentDistance () const noexcept | 
|   | 
| constexpr T  | getMinimumEdge () const noexcept | 
|   | 
| constexpr void  | normalize () noexcept | 
|   | Ensures that min coordinates are less than max coordinates.  More...
  | 
|   | 
template<typename T, std::size_t N>
struct gf::Box< T, N >
A multi-dimensional box. 
- See also
 - gf::Rect 
 
 
◆ Box() [1/4]
template<typename T, std::size_t N> 
 
 
◆ Box() [2/4]
template<typename T, std::size_t N> 
 
 
◆ Box() [3/4]
template<typename T, std::size_t N> 
 
 
◆ Box() [4/4]
template<typename T, std::size_t N> 
 
 
◆ contains() [1/2]
template<typename T, std::size_t N> 
 
 
◆ contains() [2/2]
template<typename T, std::size_t N> 
  
  
      
        
          | constexpr bool gf::Box< T, N >::contains  | 
          ( | 
          const Box< T, N > &  | 
          other | ) | 
           const | 
         
       
   | 
  
inlinenoexcept   | 
  
 
 
◆ extend() [1/3]
template<typename T, std::size_t N> 
  
  
      
        
          | constexpr void gf::Box< T, N >::extend  | 
          ( | 
          const T(&)  | 
          point[N] | ) | 
           | 
         
       
   | 
  
inlinenoexcept   | 
  
 
 
◆ extend() [2/3]
template<typename T, std::size_t N> 
 
 
◆ extend() [3/3]
template<typename T, std::size_t N> 
 
 
◆ getCenter()
template<typename T, std::size_t N> 
 
 
◆ getExtended()
template<typename T, std::size_t N> 
 
 
◆ getExtentDistance()
template<typename T, std::size_t N> 
  
  
      
        
          | constexpr T gf::Box< T, N >::getExtentDistance  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinenoexcept   | 
  
 
 
◆ getIntersection()
template<typename T, std::size_t N> 
 
 
◆ getIntersectionExtentDistance()
template<typename T, std::size_t N> 
  
  
      
        
          | T gf::Box< T, N >::getIntersectionExtentDistance  | 
          ( | 
          const Box< T, N > &  | 
          other | ) | 
           const | 
         
       
   | 
  
inlinenoexcept   | 
  
 
 
◆ getIntersectionVolume()
template<typename T, std::size_t N> 
  
  
      
        
          | T gf::Box< T, N >::getIntersectionVolume  | 
          ( | 
          const Box< T, N > &  | 
          other | ) | 
           const | 
         
       
   | 
  
inlinenoexcept   | 
  
 
 
◆ getMinimumEdge()
template<typename T, std::size_t N> 
  
  
      
        
          | constexpr T gf::Box< T, N >::getMinimumEdge  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinenoexcept   | 
  
 
 
◆ getSize()
template<typename T, std::size_t N> 
 
 
◆ getVolume()
template<typename T, std::size_t N> 
 
 
◆ intersects()
template<typename T, std::size_t N> 
  
  
      
        
          | constexpr bool gf::Box< T, N >::intersects  | 
          ( | 
          const Box< T, N > &  | 
          other | ) | 
           const | 
         
       
   | 
  
inlinenoexcept   | 
  
 
 
◆ isEmpty()
template<typename T, std::size_t N> 
  
  
      
        
          | constexpr bool gf::Box< T, N >::isEmpty  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinenoexcept   | 
  
 
 
◆ normalize()
template<typename T, std::size_t N> 
  
  
      
        
          | constexpr void gf::Box< T, N >::normalize  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinenoexcept   | 
  
 
Ensures that min coordinates are less than max coordinates. 
 
 
◆ max
template<typename T, std::size_t N> 
      
 
 
◆ min
template<typename T, std::size_t N>