Ignore:
Timestamp:
03/20/06 00:11:27 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r697 r710  
    3030        {};   
    3131 
    32         // copy constructor copying the polygon array 
     32        /** copy constructor copying the polygon array. 
     33                The polygons are deeply copied. 
     34        */ 
    3335        BspNodeGeometry(const BspNodeGeometry &rhs); 
    34  
    35         //BspNodeGeometry(const PolygonContainer &polys); 
     36        /** This operator uses a deep copy to copy the polygons. 
     37        */ 
     38        BspNodeGeometry& operator=(const BspNodeGeometry& p); 
     39 
     40        /** Builds node geometry using this polygons.  
     41                @NOTE The polygons are NOT duplicated, only 
     42                a shallow copy is used. 
     43        */       
     44    BspNodeGeometry(const PolygonContainer &polys); 
    3645 
    3746        ~BspNodeGeometry(); 
     
    6776                -1 if geometry in back of plane 
    6877        */ 
    69         int Side(const Plane3 &plane) const; 
     78        int Side(const Plane3 &plane, const float eps = 0.0f) const; 
    7079 
    7180        /** Splits the polygon and returns the part of the polygon inside of the node geometry. 
     
    97106        const PolygonContainer &GetPolys(); 
    98107 
     108    /** Adds polygon and plane equation to this geometry. 
     109        */ 
    99110        void Add(Polygon3 *p, const Plane3 &plane); 
    100111 
Note: See TracChangeset for help on using the changeset viewer.