Changeset 2116 for GTP/trunk/Lib/Vis/Preprocessing/src/Polygon3.h
- Timestamp:
- 02/15/07 00:35:41 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/Polygon3.h
r1420 r2116 3 3 4 4 5 //#include <iostream> 6 //#include <math.h> 7 //#include "common.h" 5 #include <iostream> 6 #include "common.h" 8 7 #include "Containers.h" 9 #include " Mesh.h"8 #include "Vector3.h" 10 9 #include <iomanip> 11 10 … … 18 17 class AxisAlignedBox3; 19 18 class Ray; 20 //typedef Vertex3 Vector3; 19 class Mesh; 20 class MeshInstance; 21 class Material; 22 struct Triangle3; 23 21 24 22 25 /** Class representing a planar convex polygon in 3d. … … 41 44 Polygon3(const Triangle3 &tri); 42 45 43 ~Polygon3() {DEL_PTR(mPlane);}46 ~Polygon3(); 44 47 45 48 /** Copies all the vertices of the face. … … 173 176 174 177 //s << setprecision(6) << "Polygon:\n"; 175 for (it = A.mVertices.begin(); it != A.mVertices.end(); ++it) 178 for (it = A.mVertices.begin(); it != A.mVertices.end(); ++ it) 179 { 176 180 s << *it << " "; 177 181 } 182 178 183 return s; 179 184 }
Note: See TracChangeset
for help on using the changeset viewer.