MOAB: Mesh Oriented datABase  (version 5.3.1)
moab::common_tree::Box< T > Class Template Reference

#include <common_tree.hpp>

Public Types

typedef T value_type
typedef std::vector< TVector

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 107 of file common_tree.hpp.


Member Typedef Documentation

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

Definition at line 110 of file common_tree.hpp.

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

Definition at line 111 of file common_tree.hpp.


Constructor & Destructor Documentation

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

Definition at line 112 of file common_tree.hpp.

: max( 3, 0.0 ), min( 3, 0.0 ) {}
template<typename T = float>
moab::common_tree::Box< T >::Box ( const Box< T > &  from) [inline]

Definition at line 113 of file common_tree.hpp.

: max( from.max ), min( from.min ) {}
template<typename T = float>
template<typename Iterator >
moab::common_tree::Box< T >::Box ( const Iterator  begin,
const Iterator  end 
) [inline]

Definition at line 115 of file common_tree.hpp.

                                                        : max( begin, end ), min( begin, end )
        {
        }

Member Function Documentation

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

Definition at line 118 of file common_tree.hpp.

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

        {
            max = from.max;
            min = from.min;
            return *this;
        }

Member Data Documentation

List of all members.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines