proj home

Files   Classes   Functions   Hierarchy  

d4minboundary.h

Go to the documentation of this file.
00001 #ifndef D4MINBOUNDARY_H
00002 #define D4MINDOUNDARY_H
00003 
00004 #include <d4minoperator.h>
00005 
00006 #include <d4tess.h>
00007 
00008 class d4minboundary : public d4minoperator
00009 {
00010 public:
00011 
00012   d4minboundary(d4tess & _tess);
00013 
00014   bool const eval(uintc a, uintc b);
00015 
00016 };
00017 
00018 
00019 class d4mingreedy: public d4minoperator
00020 {
00021 public:
00022 
00023   d4mingreedy(d4tess & _tess)
00024     : d4minoperator(_tess) {} 
00025 
00026   bool const eval(uintc a, uintc b)
00027     { return tess.tet2to3_(a,b); }
00028 
00029 };
00030 
00031 class d4mingreedy2: public d4minoperator
00032 {
00033 public:
00034 
00035   d4mingreedy2(d4tess & _tess)
00036     : d4minoperator(_tess) {} 
00037 
00038   bool const eval(uintc a, uintc b);
00039 
00040 private:
00041   double dist(uintc a, uintc b) const
00042   { 
00043     point3<double> p(tess.pt[a]-tess.pt[b]);
00044     return p.distance();
00045   }
00046 
00047 };
00048 
00049 
00050 #endif
00051 
00052 
00053 

Generated on Fri Mar 4 00:49:31 2011 for Chelton Evans Source by  doxygen 1.5.8