Edge.cpp File Reference

#include <Edge.hpp>

Include dependency graph for Edge.cpp:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const Edge &e)
 Outputs the Edge e using the stream os.


Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Edge e 
)

Outputs the Edge e using the stream os.

Prints the edge to a given stream

Parameters:
os the given stream
e the edge to print
Returns:
the modified stream

Definition at line 23 of file Edge.cpp.

00024 {
00025   os << '(' << e(0)[0] << ' ' << e(0)[1] << ' ' << e(0)[2] << "),";
00026   os << '(' << e(1)[0] << ' ' << e(1)[1] << ' ' << e(1)[2] << ')';
00027 
00028   return os;
00029 }


Generated on Wed Nov 19 00:01:04 2008 for FreeFEM3D (aka ff3d) by  doxygen 1.5.6