CMS 3D CMS Logo

IgBSPTriangle.h File Reference

#include "Iguana/Inventor/interface/config.h"
#include <Inventor/SbLinear.h>
#include <list>

Go to the source code of this file.

Classes

class  IgBSPTriangle
struct  IgBSPTriangle::LessArea
struct  IgBSPTriangle::MoreArea

Functions

std::ostream & operator<< (std::ostream &stream, const IgBSPTriangle &triangle)


Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const IgBSPTriangle triangle 
)

Definition at line 18 of file IgBSPTriangle.cc.

References lat::endl(), and IgBSPTriangle::v().

00019 {
00020     stream << "Triangle:" << std::endl;    
00021     stream << triangle.v (0)[0] << " " 
00022            << triangle.v (0)[1] << " " 
00023            << triangle.v (0)[2] << " " << std::endl;    
00024     stream << triangle.v (1)[0] << " " 
00025            << triangle.v (1)[1] << " " 
00026            << triangle.v (1)[2] << " " << std::endl;    
00027     stream << triangle.v (2)[0] << " " 
00028            << triangle.v (2)[1] << " " 
00029            << triangle.v (2)[2] << " " << std::endl;    
00030     return stream;    
00031 }


Generated on Tue Jun 9 17:54:14 2009 for CMSSW by  doxygen 1.5.4