Ignore:
Timestamp:
02/15/07 00:35:41 (17 years ago)
Author:
mattausch
Message:

implemented hashpvs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/Polygon3.h

    r1420 r2116  
    33 
    44 
    5 //#include <iostream> 
    6 //#include <math.h> 
    7 //#include "common.h" 
     5#include <iostream> 
     6#include "common.h" 
    87#include "Containers.h" 
    9 #include "Mesh.h" 
     8#include "Vector3.h" 
    109#include <iomanip> 
    1110 
     
    1817class AxisAlignedBox3; 
    1918class Ray; 
    20 //typedef Vertex3 Vector3; 
     19class Mesh; 
     20class MeshInstance; 
     21class Material; 
     22struct Triangle3; 
     23 
    2124 
    2225/** Class representing a planar convex polygon in 3d. 
     
    4144        Polygon3(const Triangle3 &tri); 
    4245 
    43         ~Polygon3() {DEL_PTR(mPlane);} 
     46        ~Polygon3(); 
    4447         
    4548        /** Copies all the vertices of the face. 
     
    173176 
    174177        //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        { 
    176180                s << *it << " "; 
    177          
     181        } 
     182 
    178183        return s; 
    179184} 
Note: See TracChangeset for help on using the changeset viewer.