Mesh Oriented datABase  (version 5.4.1)
Array-based unstructured mesh datastructure
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 122 of file common_tree.hpp.


Member Typedef Documentation

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

Definition at line 125 of file common_tree.hpp.

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

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

Definition at line 127 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 128 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 130 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 133 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