Mesh Oriented datABase  (version 5.5.1)
An array-based unstructured mesh library
moab::common_tree::Box< T > Class Template Reference

#include <common_tree.hpp>

+ Collaboration diagram for moab::common_tree::Box< T >:

Public Types

typedef T value_type
 
typedef std::vector< T > Vector
 

Public Member Functions

 Box ()
 
 Box (const Box &from)
 
template<typename Iterator >
 Box (const Iterator begin, const Iterator end)
 
Boxoperator= (const Box &from)
 

Public Attributes

Vector max
 
Vector min
 

Detailed Description

template<typename T = float>
class moab::common_tree::Box< T >

Definition at line 122 of file common_tree.hpp.

Member Typedef Documentation

◆ value_type

template<typename T = float>
typedef T moab::common_tree::Box< T >::value_type

Definition at line 125 of file common_tree.hpp.

◆ Vector

template<typename T = float>
typedef std::vector< T > moab::common_tree::Box< T >::Vector

Definition at line 126 of file common_tree.hpp.

Constructor & Destructor Documentation

◆ Box() [1/3]

template<typename T = float>
moab::common_tree::Box< T >::Box ( )
inline

Definition at line 127 of file common_tree.hpp.

127 : max( 3, 0.0 ), min( 3, 0.0 ) {}

◆ Box() [2/3]

template<typename T = float>
moab::common_tree::Box< T >::Box ( const Box< T > &  from)
inline

Definition at line 128 of file common_tree.hpp.

128 : max( from.max ), min( from.min ) {}

◆ Box() [3/3]

template<typename T = float>
template<typename Iterator >
moab::common_tree::Box< T >::Box ( const Iterator  begin,
const Iterator  end 
)
inline

Definition at line 130 of file common_tree.hpp.

130  : max( begin, end ), min( begin, end )
131  {
132  }

Member Function Documentation

◆ operator=()

template<typename T = float>
Box& moab::common_tree::Box< T >::operator= ( const Box< T > &  from)
inline

Definition at line 133 of file common_tree.hpp.

134  {
135  max = from.max;
136  min = from.min;
137  return *this;
138  }

References moab::common_tree::Box< T >::max, and moab::common_tree::Box< T >::min.

Member Data Documentation

◆ max

◆ min


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