CRXS  1.0
Comic Ray Cross Section Tools
 All Classes Namespaces Functions Variables Pages
Static Public Member Functions | List of all members
CRXS::LA Class Reference

Static Public Member Functions

static double len (double *a)
 Length of a vector a.
 
static void cross (double *v1, double *v2, double *cross_res)
 cross product of vector v1 and v2 returned into vector cross_res
 
static double dot (double *v1, double *v2)
 dot product of vectors v1 and v2
 
static double dist (double *a, double *b, double *c, double *p)
 distance of vector p from the plane through vectors a,b,c
 
static double sign (double x)
 
static bool inside (double *a, double *b, double *c, double *d, double *p)
 true if vector p is inside of the volume of vectors a,b,c,d
 

The documentation for this class was generated from the following files: