#include "common.h"
#include <math.h>
#include "raytrace.h"
#include "tcl.h"
#include "bu.h"
#include "bn.h"
#include "vmath.h"
#include "nmg.h"
#include <iostream>
#include <stddef.h>
#include <limits.h>
#include <signal.h>
Go to the source code of this file.
Data Structures | |
class | dvec_unop |
class | dvec_op |
class | dvec< LEN > |
class | mul |
class | add |
class | sub |
class | sqrt |
struct | vec_internal< LEN > |
class | vec2d |
Defines | |
#define | VEC_ALIGN |
#define | __fpu_vector__ |
#define | __BEGIN_DECLS |
#define | __END_DECLS |
#define | INTMAX_MAX INT32_MAX |
#define | UINTMAX_MAX UINT32_MAX |
#define | UINTMAX_C(v) UINT32_C(v) |
#define | INTMAX_C(v) INT32_C(v) |
#define | PRINTF_LEAST32_MODIFIER PRINTF_INT32_MODIFIER |
#define | PRINTF_LEAST16_MODIFIER PRINTF_INT16_MODIFIER |
#define | UINT_LEAST8_MAX UINT8_MAX |
#define | INT_LEAST8_MAX INT8_MAX |
#define | UINT_LEAST16_MAX UINT16_MAX |
#define | INT_LEAST16_MAX INT16_MAX |
#define | UINT_LEAST32_MAX UINT32_MAX |
#define | INT_LEAST32_MAX INT32_MAX |
#define | INT_LEAST8_MIN INT8_MIN |
#define | INT_LEAST16_MIN INT16_MIN |
#define | INT_LEAST32_MIN INT32_MIN |
#define | UINT_FAST8_MAX UINT_LEAST8_MAX |
#define | INT_FAST8_MAX INT_LEAST8_MAX |
#define | UINT_FAST16_MAX UINT_LEAST16_MAX |
#define | INT_FAST16_MAX INT_LEAST16_MAX |
#define | UINT_FAST32_MAX UINT_LEAST32_MAX |
#define | INT_FAST32_MAX INT_LEAST32_MAX |
#define | INT_FAST8_MIN INT_LEAST8_MIN |
#define | INT_FAST16_MIN INT_LEAST16_MIN |
#define | INT_FAST32_MIN INT_LEAST32_MIN |
#define | STDINT_H_UINTPTR_T_DEFINED |
#define | always_inline noinline |
#define | UNUSED(parameter) (parameter) |
#define | IGNORE(parameter) (void)(parameter) |
#define | LIKELY(expression) (expression) |
#define | UNLIKELY(expression) (expression) |
#define | DEPRECATED |
Typedefs | |
typedef uint32_t | uintmax_t |
typedef int8_t | int_least8_t |
typedef uint8_t | uint_least8_t |
typedef int16_t | int_least16_t |
typedef uint16_t | uint_least16_t |
typedef int32_t | int_least32_t |
typedef uint32_t | uint_least32_t |
typedef int_least8_t | int_fast8_t |
typedef uint_least8_t | uint_fast8_t |
typedef int_least16_t | int_fast16_t |
typedef uint_least16_t | uint_fast16_t |
typedef int_least32_t | int_fast32_t |
typedef uint_least32_t | uint_fast32_t |
typedef fastf_t mat2d_t[4] | VEC_ALIGN |
Functions | |
template<int LEN> | |
std::ostream & | operator<< (std::ostream &out, const dvec< LEN > &v) |
std::ostream & | operator<< (std::ostream &out, const vec2d &v) |
bool | vequals (const vec2d &a, const vec2d &b) |
bool | mat2d_inverse (mat2d_t inv, mat2d_t m) |
void | mat2d_pt2d_mul (pt2d_t r, mat2d_t m, pt2d_t p) |
void | pt2dsub (pt2d_t r, pt2d_t a, pt2d_t b) |
fastf_t | v2mag (pt2d_t p) |
void | move (pt2d_t a, const pt2d_t b) |
Variables | |
size_t typedef int32_t | intmax_t |
const double | VEQUALITY = 0.0000001 |
Definition in file dvec.h.
std::ostream & operator<< | ( | std::ostream & | out, | |
const dvec< LEN > & | v | |||
) | [inline] |
std::ostream& operator<< | ( | std::ostream & | out, | |
const vec2d & | v | |||
) | [inline] |
Definition at line 126 of file dvec.h.
References vec2d::x(), and vec2d::y().
bool mat2d_inverse | ( | mat2d_t | inv, | |
mat2d_t | m | |||
) | [inline] |
Definition at line 141 of file dvec.h.
References c, dvec< LEN >::foldr(), NEAR_ZERO, scale, and VUNITIZE_TOL.
void mat2d_pt2d_mul | ( | pt2d_t | r, | |
mat2d_t | m, | |||
pt2d_t | p | |||
) | [inline] |