AutoPas  3.0.0
Loading...
Searching...
No Matches
Namespaces | Functions
inBox.h File Reference
#include <array>
#include <type_traits>
Include dependency graph for inBox.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  autopas
 This is the main namespace of AutoPas.
 
namespace  autopas::utils
 In this namespace some helper classes and functions can be found used inside of AutoPas.
 

Functions

template<typename T >
bool autopas::utils::inBox (const std::array< T, 3 > &position, const std::array< T, 3 > &low, const std::array< T, 3 > &high)
 Checks if position is inside of a box defined by low and high.
 
template<typename T >
bool autopas::utils::notInBox (const std::array< T, 3 > &position, const std::array< T, 3 > &low, const std::array< T, 3 > &high)
 Checks if position is not inside of a box defined by low and high.
 
template<typename T >
bool autopas::utils::boxesOverlap (const std::array< T, 3 > &boxALow, const std::array< T, 3 > &boxAHigh, const std::array< T, 3 > &boxBLow, const std::array< T, 3 > &boxBHigh)
 Checks if two boxes have overlap.
 

Detailed Description

Date
22 Jan 2018
Author
tchipevn