Ignore:
Timestamp:
04/27/06 11:57:28 (18 years ago)
Author:
mattausch
Message:

implementing bounding box hack

File:
1 edited

Legend:

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

    r752 r840  
    100100        /** The polygon is converted to triangles. 
    101101        */ 
    102         void Triangulate(vector<Triangle3> &triangles); 
    103         /** 
    104                 Adds polygon to mesh description as a face 
    105         */ 
    106         void AddToMesh(Mesh &mesh); 
     102        void Triangulate(vector<Triangle3> &triangles) const; 
     103 
    107104        /**  
    108105                Triangle strip indices are created from this polgon. 
    109106        */ 
    110         void Triangulate(VertexIndexContainer &indices); 
     107        void Triangulate(VertexIndexContainer &indices) const; 
    111108         
    112109        /** The piercing rays of the polygon are inherited by the child fragments 
     
    153150        */ 
    154151        static float GetArea(const PolygonContainer &cell); 
     152 
     153        /** 
     154                Adds polygon to mesh description as a face 
     155        */ 
     156        friend void IncludePolyInMesh(const Polygon3 &poly, Mesh &mesh); 
    155157}; 
    156158 
Note: See TracChangeset for help on using the changeset viewer.