ug4
|
#include <lg_ntree.h>
Public Types | |
typedef AABox< vector_t > | box_t |
typedef common_data_t_ | common_data_t |
typedef elem_t_ | elem_t |
typedef number | real_t |
typedef MathVector< world_dim > | vector_t |
Static Public Member Functions | |
static bool | box_box_intersection (const box_t &box1, const box_t &box2) |
returns true if the given boxes intersect More... | |
static bool | box_contains_point (const box_t &box, const vector_t &point) |
static vector_t | box_diagonal (const box_t &box) |
static void | calculate_bounding_box (box_t &boxOut, const elem_t &e, const common_data_t &commonData) |
static void | calculate_center (vector_t ¢erOut, const elem_t &e, const common_data_t &commonData) |
static bool | contains_point (const elem_t &e, const vector_t &point, const common_data_t &commonData) |
static void | grow_box (box_t &boxOut, const box_t &box, const vector_t &offset) |
static bool | intersects_ray (Edge *e, const vector_t &rayFrom, const vector_t &rayDir, const common_data_t &cd, number &s0out, number &s1out, number sml=SMALL) |
static bool | intersects_ray (Face *e, const vector_t &rayFrom, const vector_t &rayDir, const common_data_t &cd, number &s0out, number &s1out, number sml=SMALL) |
static bool | intersects_ray (Vertex *e, const vector_t &rayFrom, const vector_t &rayDir, const common_data_t &cd, number &s0out, number &s1out) |
static bool | intersects_ray (Volume *e, const vector_t &rayFrom, const vector_t &rayDir, const common_data_t &cd, number &s0out, number &s1out, number sml=SMALL) |
static void | merge_boxes (box_t &boxOut, const box_t &box1, const box_t &box2) |
returns the smallest box that contains both box1 and box2 More... | |
static bool | ray_box_intersection (const vector_t &from, const vector_t &dir, const box_t &box) |
typedef AABox<vector_t> ug::lg_ntree_traits_base< tree_dim, world_dim, elem_t_, common_data_t_ >::box_t |
typedef common_data_t_ ug::lg_ntree_traits_base< tree_dim, world_dim, elem_t_, common_data_t_ >::common_data_t |
typedef elem_t_ ug::lg_ntree_traits_base< tree_dim, world_dim, elem_t_, common_data_t_ >::elem_t |
typedef number ug::lg_ntree_traits_base< tree_dim, world_dim, elem_t_, common_data_t_ >::real_t |
typedef MathVector<world_dim> ug::lg_ntree_traits_base< tree_dim, world_dim, elem_t_, common_data_t_ >::vector_t |
|
inlinestatic |
returns true if the given boxes intersect
References ug::AABox< vector_t >::max, and ug::AABox< vector_t >::min.
|
inlinestatic |
References ug::AABox< vector_t >::contains_point().
|
inlinestatic |
References ug::AABox< vector_t >::max, ug::AABox< vector_t >::min, and ug::VecSubtract().
|
inlinestatic |
|
inlinestatic |
References ug::PointerConstArray< TPtr >::size(), ug::VecAdd(), and ug::VecScale().
|
inlinestatic |
References ug::ContainsPoint().
|
inlinestatic |
References ug::AABox< vector_t >::max, ug::AABox< vector_t >::min, ug::VecAdd(), and ug::VecSubtract().
|
inlinestatic |
References ug::RayElementIntersection(), and UG_COND_THROW.
|
inlinestatic |
References ug::RayElementIntersection(), and UG_COND_THROW.
|
inlinestatic |
References UG_THROW.
|
inlinestatic |
References ug::RayElementIntersection(), and UG_COND_THROW.
|
inlinestatic |
returns the smallest box that contains both box1 and box2
|
inlinestatic |
References ug::AABox< vector_t >::max, ug::AABox< vector_t >::min, and ug::RayBoxIntersection().