Fermat
|
Defines an axis-aligned bounding box class. More...
#include <cugar/basic/numbers.h>
#include <cugar/linalg/vector.h>
#include <limits>
#include <algorithm>
#include <cugar/linalg/bbox_inline.h>
Go to the source code of this file.
Classes | |
struct | cugar::Bbox< Vector_t > |
struct | cugar::bbox_area_functor< DIM > |
Namespaces | |
cugar | |
Define a vector_view POD type and plain_view() for std::vector. | |
Functions | |
CUGAR_HOST_DEVICE float | cugar::area (const Bbox2f &bbox) |
CUGAR_HOST_DEVICE float | cugar::area (const Bbox3f &bbox) |
template<typename Vector_t > | |
CUGAR_HOST_DEVICE bool | cugar::contains (const Bbox< Vector_t > &bbox, const Vector_t &p) |
template<typename Vector_t > | |
CUGAR_HOST_DEVICE bool | cugar::contains (const Bbox< Vector_t > &bbox, const Bbox< Vector_t > &candidate) |
template<typename Vector_t > | |
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE float | cugar::sq_distance (const Bbox< Vector_t > &bbox, const Vector_t &p) |
template<typename Vector_t > | |
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE size_t | cugar::largest_axis (const Bbox< Vector_t > &bbox) |
template<typename Vector_t > | |
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE Vector_t | cugar::extents (const Bbox< Vector_t > &bbox) |
Defines an axis-aligned bounding box class.