Header file for the BRL-CAD common definitions.
 
int bn_decode_vect(vect_t v, const char *str)
 
int bn_decode_quat(quat_t q, const char *str)
 
int bn_decode_angle(double *ang, const char *str)
Support routines for the math functions.
 
void bn_encode_vect(struct bu_vls *vp, const vect_t v, int clamp)
 
int bn_decode_hvect(hvect_t v, const char *str)
 
void bn_encode_mat(struct bu_vls *vp, const mat_t m, int clamp)
 
void bn_encode_hvect(struct bu_vls *vp, const hvect_t v, int clamp)
 
void bn_encode_quat(struct bu_vls *vp, const quat_t q, int clamp)
 
int bn_decode_mat(mat_t m, const char *str)
 
fastf_t vect_t[ELEMENTS_PER_VECT]
3-tuple vector
 
fastf_t mat_t[ELEMENTS_PER_MAT]
4x4 matrix
 
fastf_t hvect_t[ELEMENTS_PER_HVECT]
4-tuple vector
 
hvect_t quat_t
4-element quaternion
 
fundamental vector, matrix, quaternion math macros