Multiscale Universal Interface  2.0
A Concurrent Framework for Coupling Heterogeneous Solvers
mui::geometry::box< CONFIG > Class Template Reference

#include <geometry.h>

Inheritance diagram for mui::geometry::box< CONFIG >:
Collaboration diagram for mui::geometry::box< CONFIG >:

Public Member Functions

 box ()=default
 
 box (const coordinate_type &p1, const coordinate_type &p2)
 
coordinate_type get_min () const
 
coordinate_type & get_min ()
 
coordinate_type get_max () const
 
coordinate_type & get_max ()
 
shape< CONFIG > * clone () const
 
shape_type type () const noexcept
 
box< CONFIG > bbox () const
 
void serialize (ostream &stream) const
 
void deserialize (istream &stream)
 
- Public Member Functions inherited from mui::geometry::shape< CONFIG >
virtual ~shape ()
 

Additional Inherited Members

- Protected Member Functions inherited from mui::geometry::shape< CONFIG >
 shape ()=default
 
 shape (shape &&) noexcept=default
 
 shape (const shape &)=default
 
shapeoperator= (shape &&) noexcept=default
 
shapeoperator= (const shape &)=default
 

Constructor & Destructor Documentation

◆ box() [1/2]

template<typename CONFIG >
mui::geometry::box< CONFIG >::box ( )
default

◆ box() [2/2]

template<typename CONFIG >
mui::geometry::box< CONFIG >::box ( const coordinate_type &  p1,
const coordinate_type &  p2 
)
inline

Member Function Documentation

◆ bbox()

template<typename CONFIG >
box< CONFIG > mui::geometry::box< CONFIG >::bbox
virtual

◆ clone()

template<typename CONFIG >
shape<CONFIG>* mui::geometry::box< CONFIG >::clone ( ) const
inlinevirtual

◆ deserialize()

template<typename CONFIG >
void mui::geometry::box< CONFIG >::deserialize ( istream stream)
inlinevirtual

◆ get_max() [1/2]

template<typename CONFIG >
coordinate_type& mui::geometry::box< CONFIG >::get_max ( )
inline

◆ get_max() [2/2]

template<typename CONFIG >
coordinate_type mui::geometry::box< CONFIG >::get_max ( ) const
inline

◆ get_min() [1/2]

template<typename CONFIG >
coordinate_type& mui::geometry::box< CONFIG >::get_min ( )
inline

◆ get_min() [2/2]

template<typename CONFIG >
coordinate_type mui::geometry::box< CONFIG >::get_min ( ) const
inline

◆ serialize()

template<typename CONFIG >
void mui::geometry::box< CONFIG >::serialize ( ostream stream) const
inlinevirtual

◆ type()

template<typename CONFIG >
shape_type mui::geometry::box< CONFIG >::type ( ) const
inlinevirtualnoexcept

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