#include <ChasteCuboid.hpp>
Public Member Functions | |
ChasteCuboid (ChastePoint< 3 > &rPointA, ChastePoint< 3 > &rPointB) | |
bool | DoesContain (const ChastePoint< 3U > &rPointToCheck) |
bool | DoesContain (const ChastePoint< 2U > &rPointToCheck) |
bool | DoesContain (const ChastePoint< 1U > &rPointToCheck) |
Private Attributes | |
ChastePoint< 3 > | mrPointA |
ChastePoint< 3 > | mrPointB |
Definition at line 39 of file ChasteCuboid.hpp.
ChasteCuboid::ChasteCuboid | ( | ChastePoint< 3 > & | rPointA, | |
ChastePoint< 3 > & | rPointB | |||
) |
The cuboid is defined by any of its two space-diagonal opposite corners.
rPointA | Any vertex of the cuboid. | |
rPointB | The space-diagonal opposite corner of pointA. |
Definition at line 31 of file ChasteCuboid.cpp.
bool ChasteCuboid::DoesContain | ( | const ChastePoint< 3U > & | rPointToCheck | ) |
Checks if a given point is contained in the cuboid.
rPointToCheck | Point to be checked to be contained in the cuboid. |
Definition at line 42 of file ChasteCuboid.cpp.