Files Classes Functions Hierarchy
00001 #ifndef D2SIMPLEX_H 00002 #define D2SIMPLEX_H 00003 00004 #include <print.h> 00005 #include <point.h> 00006 00007 typedef point2<double> const pt2c; 00008 00009 00010 00014 class d2simplex 00015 { 00016 public: 00017 00019 point2<double> v[3]; 00020 00022 bool const intersects(d2simplex const & s2) const; 00023 00025 bool const sees(d2simplex const & s2) const; 00026 00028 void rotate(doublec theta); 00029 00031 void translate( pt2c & x ); 00032 00033 }; 00034 00035 00036 00037 00038 00039 00040 00041 #endif 00042 00043
1.5.8