BRL-CAD
String Data Encoding/Decoding

LIBBN encode/decode string routines. More...

Collaboration diagram for String Data Encoding/Decoding:

Files

file  str.h
 

Functions

int bn_decode_angle (double *ang, const char *str)
 Support routines for the math functions. More...
 
int bn_decode_mat (mat_t m, const char *str)
 
int bn_decode_quat (quat_t q, const char *str)
 
int bn_decode_vect (vect_t v, const char *str)
 
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_quat (struct bu_vls *vp, const quat_t q, int clamp)
 
void bn_encode_vect (struct bu_vls *vp, const vect_t v, int clamp)
 
void bn_encode_hvect (struct bu_vls *vp, const hvect_t v, int clamp)
 

Detailed Description

LIBBN encode/decode string routines.

Function Documentation

◆ bn_decode_angle()

int bn_decode_angle ( double *  ang,
const char *  str 
)

Support routines for the math functions.

◆ bn_decode_mat()

int bn_decode_mat ( mat_t  m,
const char *  str 
)

◆ bn_decode_quat()

int bn_decode_quat ( quat_t  q,
const char *  str 
)

◆ bn_decode_vect()

int bn_decode_vect ( vect_t  v,
const char *  str 
)

◆ bn_decode_hvect()

int bn_decode_hvect ( hvect_t  v,
const char *  str 
)

◆ bn_encode_mat()

void bn_encode_mat ( struct bu_vls vp,
const mat_t  m,
int  clamp 
)

◆ bn_encode_quat()

void bn_encode_quat ( struct bu_vls vp,
const quat_t  q,
int  clamp 
)

◆ bn_encode_vect()

void bn_encode_vect ( struct bu_vls vp,
const vect_t  v,
int  clamp 
)

◆ bn_encode_hvect()

void bn_encode_hvect ( struct bu_vls vp,
const hvect_t  v,
int  clamp 
)