Ignore:
Timestamp:
09/07/06 18:19:15 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r1292 r1327  
    5252  } 
    5353   
     54  AxisAlignedBox3 GetBoundingBox() const 
     55  { 
     56          VertexIndexContainer::const_iterator vit, vit_end = (int)mVertexIndices.size(); 
     57          AxisAlignedBox3 box; 
     58          box.Initialize(); 
     59 
     60          for (vit = mVertexIndices.begin(); vit != vit_end; ++ vit) 
     61          { 
     62                  box.Include(*vit); 
     63          } 
     64 
     65          return box; 
     66  } 
     67 
    5468  /// list of vertex pointers 
    5569  VertexIndexContainer mVertexIndices;   
Note: See TracChangeset for help on using the changeset viewer.