proj home

Files   Classes   Functions   Hierarchy  

cylinder.cpp

Go to the documentation of this file.
00001 
00002 #include <cylinder.h>
00003 #include <mathlib.h>
00004 
00005 
00006 cylinder::cylinder
00007 (
00008   point3<double> const & nml_,
00009   point3<double> const & pos_,
00010   doublec radius_,
00011   doublec height_
00012 )
00013   : nml(nml_), pos(pos_), radius(radius_),
00014   height(height_)
00015 {
00016 }
00017 
00018 
00019 cylinder::operator stringc () const
00020 {
00021   stringstream ss;
00022   ss << nml.x << " " << nml.y << " " << nml.z << "  ";
00023   ss << pos.x << " " << pos.y << " " << pos.z << "  "; 
00024   ss << radius << " " << height;
00025 
00026   return ss.str();
00027 }
00028 

Generated on Fri Mar 4 00:49:28 2011 for Chelton Evans Source by  doxygen 1.5.8