Polygon.cpp File Reference

#include <Polygon.h>

Include dependency graph for Polygon.cpp:

Go to the source code of this file.

Functions

ostream & operator<< (ostream &stream, const Polygon &poly)


Function Documentation

ostream& operator<< ( ostream &  stream,
const Polygon poly 
)

Definition at line 98 of file Polygon.cpp.

References Polygon::size().

00099 {
00100   int N_vertex=poly.size();
00101   for(int k_vertex=0;k_vertex<N_vertex;k_vertex++)
00102     stream<<poly[k_vertex]<<endl;
00103   return stream;
00104 }

Here is the call graph for this function:


Generated on Mon Mar 30 16:56:16 2009 by  doxygen 1.5.6