misc.h

Go to the documentation of this file.
00001 #ifndef MISC_H
00002 #define MISC_H
00003 
00004 #include "meshmorph.h"
00005 #include "vertex.h"
00006 
00007 struct result
00008 {
00009   bool line_flag;
00010   bool poly_flag;
00011   bool poly_edge_flag;
00012 };
00013 
00014 double dot                  (vec_d const &,vec_d const &);
00015 double dot                  (double const * const a,double const * const b);
00016 double dot                  (vector3 const &,vector3 const &);
00017 double dot                  (vector3 const *,vector3 const *);
00018 double l2                   (double * const t);
00019 void   cross                (double * const t1,
00020                              double * const t2,
00021                              double * const cr);
00022 result checkLineFaceInt     (Face const * const f,
00023                              vector3 const &,
00024                              vector3 const &,
00025                              bool ignore_line_flag);
00026 int    getLargestProjection (vec_d const &);
00027 int    distinguishable      (double a,double b);
00028 int    distinguishable      (double a,double b,double epsilon);
00029 bool   parseCommandLine     (int argc,char **argv,std::string const & message);
00030 bool   checkIntSize         (void);
00031 
00032 #endif

Generated on Sun Aug 3 14:17:19 2008 for meshmorph by  doxygen 1.5.1