HDK
|
#include "UT_API.h"
#include "UT_Assert.h"
#include "UT_Vector3.h"
#include "UT_Vector4.h"
#include <SYS/SYS_Inline.h>
#include <SYS/SYS_Math.h>
#include <SYS/SYS_Types.h>
#include <iosfwd>
#include <limits>
#include <stdio.h>
Go to the source code of this file.
Classes | |
class | UT_BoundingBoxT< T > |
Axis-aligned bounding box (AABB). More... | |
Macros | |
#define | UT_TESTMAX tmax = t1 < tmax ? t1 : tmax; |
#define | UT_TESTMIN tmin = t1 > tmin ? t1 : tmin; |
#define | UT_FASTBOX(idx) |
#define | UT_TESTMAX(face) |
#define | UT_TESTMIN(face) |
#define | UT_FASTBOX(face) |
#define | UT_TESTMAX if(t < tmax) { if(t < tmin) return 0; tmax = t; } |
#define | UT_TESTMIN if(t > tmin) { if(t > tmax) return 0; tmin = t; } |
#define | UT_FASTBOX(face) |
Typedefs | |
using | UT_BoundingBoxR = UT_BoundingBoxT< fpreal > |
using | UT_BoundingBoxF = UT_BoundingBoxT< fpreal32 > |
using | UT_BoundingBoxD = UT_BoundingBoxT< fpreal64 > |
using | UT_BoundingBoxI = UT_BoundingBoxT< int64 > |
using | UT_BoundingBox = UT_BoundingBoxT< float > |
Functions | |
template<typename T > | |
UT_API size_t | format (char *buf, size_t bufsize, const UT_BoundingBoxT< T > &v) |
#define UT_FASTBOX | ( | idx | ) |
Definition at line 947 of file UT_BoundingBox.h.
#define UT_FASTBOX | ( | face | ) |
Definition at line 947 of file UT_BoundingBox.h.
#define UT_FASTBOX | ( | face | ) |
Definition at line 947 of file UT_BoundingBox.h.
Definition at line 944 of file UT_BoundingBox.h.
#define UT_TESTMAX | ( | face | ) |
Definition at line 944 of file UT_BoundingBox.h.
Definition at line 944 of file UT_BoundingBox.h.
Definition at line 945 of file UT_BoundingBox.h.
#define UT_TESTMIN | ( | face | ) |
Definition at line 945 of file UT_BoundingBox.h.
Definition at line 945 of file UT_BoundingBox.h.
using UT_BoundingBox = UT_BoundingBoxT<float> |
Definition at line 476 of file UT_BoundingBox.h.
using UT_BoundingBoxD = UT_BoundingBoxT<fpreal64> |
Definition at line 474 of file UT_BoundingBox.h.
using UT_BoundingBoxF = UT_BoundingBoxT<fpreal32> |
Definition at line 473 of file UT_BoundingBox.h.
using UT_BoundingBoxI = UT_BoundingBoxT<int64> |
Definition at line 475 of file UT_BoundingBox.h.
using UT_BoundingBoxR = UT_BoundingBoxT<fpreal> |
Definition at line 472 of file UT_BoundingBox.h.
UT_API size_t format | ( | char * | buf, |
size_t | bufsize, | ||
const UT_BoundingBoxT< T > & | v | ||
) |