1. template <class BidirectionalIterator>  
  2.   void reverse ( BidirectionalIterator first, BidirectionalIterator last);  

 

  1. 如果不是改变原来的容器,而是翻转之后放在新容器里面,直接用reverse_copy ( BidirectionalIterator first,  
  2.                                 BidirectionalIterator last, OutputIterator result );  

 

    1. std::reverse(trianglePoints.begin(), trianglePoints.end());