Changeset 678 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellBsp.h
- Timestamp:
- 03/07/06 11:09:10 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellBsp.h
r666 r678 40 40 */ 41 41 float GetArea() const; 42 42 /** Returns volume of this node geometry. 43 */ 43 44 float GetVolume() const; 44 45 … … 69 70 Vector3 CenterOfMass() const; 70 71 71 /** The polygons the geometry consists of. 72 */ 73 PolygonContainer mPolys; 74 72 bool Valid() const; 73 74 75 75 friend ostream &operator<<(ostream &s, const BspNodeGeometry &a) 76 76 { … … 82 82 } 83 83 84 int Size() const; 85 const PolygonContainer &GetPolys(); 86 87 void Add(Polygon3 *p, const Plane3 &plane); 88 89 protected: 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; 84 98 }; 85 99
Note: See TracChangeset
for help on using the changeset viewer.