ug4
|
Classes | |
struct | ug::TRI |
Namespaces | |
ug | |
the ug namespace | |
Macros | |
#define | CROSS(A, B, C) |
#define | EPS 10e-5 |
#define | FALSE 0 |
#define | INSIDE 0 |
#define | LERP(A, B, C) ((B)+(A)*((C)-(B))) |
#define | MAX3(a, b, c) ((((a)>(b))&&((a)>(c))) ? (a) : (((b)>(c)) ? (b) : (c))) |
#define | MIN3(a, b, c) ((((a)<(b))&&((a)<(c))) ? (a) : (((b)<(c)) ? (b) : (c))) |
#define | OUTSIDE 1 |
#define | SIGN3(A) |
#define | SUB(A, B, C) |
#define | TRUE 1 |
Functions | |
static int | ug::Bevel2d (const vector3 &p) |
static int | ug::Bevel3d (const vector3 &p) |
static int | ug::CheckLine (const vector3 &p1, const vector3 &p2, int outcode_diff) |
static int | ug::CheckPoint (const vector3 &p1, const vector3 &p2, number alpha, long mask) |
static int | ug::FacePlane (const vector3 &p) |
static int | ug::PointTriangleIntersection (const vector3 &p, const TRI &t) |
UG_API bool | ug::TriangleBoxIntersection (const MathVector< 3 > &p0, const MathVector< 3 > &p1, const MathVector< 3 > &p2, const MathVector< 3 > &boxMin, const MathVector< 3 > &boxMax) |
checks whether a triangle and an axis-aligned box intersect. More... | |
static int | ug::TriCubeIntersection (const TRI &t) |
#define CROSS | ( | A, | |
B, | |||
C | |||
) |
#define EPS 10e-5 |
#define FALSE 0 |
#define INSIDE 0 |
#define LERP | ( | A, | |
B, | |||
C | |||
) | ((B)+(A)*((C)-(B))) |
#define MAX3 | ( | a, | |
b, | |||
c | |||
) | ((((a)>(b))&&((a)>(c))) ? (a) : (((b)>(c)) ? (b) : (c))) |
#define MIN3 | ( | a, | |
b, | |||
c | |||
) | ((((a)<(b))&&((a)<(c))) ? (a) : (((b)<(c)) ? (b) : (c))) |
#define OUTSIDE 1 |
#define SIGN3 | ( | A | ) |
#define SUB | ( | A, | |
B, | |||
C | |||
) |
#define TRUE 1 |