Files Classes Functions Hierarchy
00001 #ifndef D3TESSTRANSFORM_H 00002 #define D3TESSTRANSFORM_H 00003 00004 #include <point.h> 00005 #include <mathlib.h> 00006 00007 #include <d3tess.h> 00008 00009 typedef point2<double> const pt2c; 00010 00011 #include <d2homogeneous.h> 00012 00013 00031 class d3tesstransform 00032 { 00033 public: 00034 00036 d3tess & tess; 00037 00039 d2homogeneous trans; 00040 00042 void transEval(); 00043 00045 d3tesstransform(d3tess & _tess); 00046 00047 // 00048 // Directly operate on the points with the following routines. 00049 // 00050 00052 void rotate(double const theta); 00053 00055 void multiply( pt2c & row1, pt2c & row2 ); 00056 00058 void translate( pt2c & x ); 00059 00060 // <TODO> Possibly extend to operate over integer ranges. 00061 }; 00062 00063 00064 00065 00066 00067 #endif 00068 00069
1.5.8