Changeset 860 for GTP/trunk/Lib/Vis/Preprocessing/src/Polygon3.cpp
- Timestamp:
- 04/28/06 18:42:54 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/Polygon3.cpp
r840 r860 4 4 #include "Ray.h" 5 5 #include "Triangle3.h" 6 7 8 using namespace GtpVisibilityPreprocessor { 9 6 10 7 11 Polygon3::Polygon3(): … … 260 264 261 265 262 void Polygon3::IncludeInBox(const PolygonContainer &polys, AxisAlignedBox3 &box)263 {264 PolygonContainer::const_iterator it, it_end = polys.end();265 266 for (it = polys.begin(); it != it_end; ++ it)267 box.Include(*(*it));268 }269 270 271 266 // int_lineseg returns 1 if the given line segment intersects a 2D 272 267 // ray travelling in the positive X direction. This is used in the … … 569 564 } 570 565 } 566 567 }
Note: See TracChangeset
for help on using the changeset viewer.