#include <array>
#include <type_traits>
Go to the source code of this file.
|
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.
|
|
- Date
- 22 Jan 2018
- Author
- tchipevn