51#include <MatrixLib/MatrixLib.h>
62ml_matrix
polygon_props(
const ml_matrix& v, ml_matrix f, ml_matrix& n, ml_matrix& r );
64double polygon(
const ml_matrix& v, ml_matrix& n, ml_matrix& r );
74#define ERROR(...) error(__FILE__,__LINE__,__VA_ARGS__)
77void sc_log(
const char *format,...);
79void sc_warn(
const char *format,...);
81void sc_error(
const char *file,
int line,
const char *format,...);
void sc_warn(const char *format,...)
Log a message to stderr.
Definition: sc_utility.cc:408
void sc_log(const char *format,...)
Log an informational message to stdout.
Definition: sc_utility.cc:393
void sc_error(const char *file, int line, const char *format,...)
Throw a runtime exception, halting execution of the app (if not caught) and printing an error message...
Definition: sc_utility.cc:425
ml_matrix unique_numbers_in_list(const ml_matrix &u)
Unique numbers in a list.
Definition: sc_utility.cc:56
ml_matrix polygon_props(const ml_matrix &v, ml_matrix f, ml_matrix &n, ml_matrix &r)
Polygon properties for a set of polygons.
Definition: sc_utility.cc:92
double attitude_maneuver_time(double inertia, double torque, double angle, double momentum_max)
Attitude maneuver time.
Definition: sc_utility.cc:379
double polygon(const ml_matrix &v, ml_matrix &n, ml_matrix &r)
Polygon properties for a single polygon.
Definition: sc_utility.cc:136
int get_naif_code(const char *s)
Get NAIF code.
Definition: sc_utility.cc:349
unsigned short BinaryToGray(unsigned short x)
Converts binary to gray code.
Definition: sc_utility.cc:45
unsigned short GrayToBinary(unsigned short x)
Converts gray code to binary.
Definition: sc_utility.cc:23