Ignore:
Timestamp:
03/07/06 11:09:10 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r666 r678  
    4040        */ 
    4141        float GetArea() const; 
    42          
     42        /** Returns volume of this node geometry. 
     43        */ 
    4344        float GetVolume() const; 
    4445 
     
    6970        Vector3 CenterOfMass() const; 
    7071 
    71         /** The polygons the geometry consists of. 
    72         */ 
    73         PolygonContainer mPolys; 
    74  
     72        bool Valid() const; 
     73 
     74         
    7575        friend ostream &operator<<(ostream &s, const BspNodeGeometry &a) 
    7676        { 
     
    8282        } 
    8383 
     84        int Size() const; 
     85        const PolygonContainer &GetPolys(); 
     86 
     87        void Add(Polygon3 *p, const Plane3 &plane); 
     88 
     89protected: 
     90        /** The polygons the geometry consists of. 
     91        */ 
     92        PolygonContainer mPolys; 
     93 
     94        /** The corresponding set of planes for the polygons. 
     95                Need this because of precision issues. 
     96        */ 
     97        vector<Plane3> mPlanes; 
    8498}; 
    8599 
Note: See TracChangeset for help on using the changeset viewer.