Ignore:
Timestamp:
07/12/06 00:52:51 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r1084 r1121  
    5151        */ 
    5252        float GetArea() const; 
     53 
    5354        /** Returns volume of this node geometry. 
    5455        */ 
     
    215216        } 
    216217 
    217         int Nodes() const {return nodes;} 
     218        int Nodes() const { return nodes; } 
    218219        int Interior() const { return nodes / 2; } 
    219220        int Leaves() const { return (nodes / 2) + 1; } 
    220221         
    221222        // TODO: computation wrong 
    222         double AvgDepth() const { return accumDepth / (double)Leaves();};  
    223         double AvgRays() const { return accumRays / (double)Leaves();};  
     223        double AvgDepth() const { return accumDepth / (double)Leaves(); } 
     224        double AvgRays() const { return accumRays / (double)Leaves(); } 
    224225 
    225226        void Reset()  
     
    304305        bool IsSibling(BspNode *n) const; 
    305306 
    306         /** returns depth of the node. 
     307        /** Returns depth of the node. 
    307308        */ 
    308309        int GetDepth() const; 
    309310 
    310         /** returns true if the whole subtree is valid 
     311        /** Returns true if the whole subtree is valid 
    311312        */ 
    312313        bool TreeValid() const; 
    313314 
     315        /** Sets the valid flag for the subtree with this node as root. 
     316        */ 
    314317        void SetTreeValid(const bool v); 
    315318 
Note: See TracChangeset for help on using the changeset viewer.