CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
print.cc
Go to the documentation of this file.
1 #include <iostream>
2 
3 
4 namespace geometryDetails {
5  std::ostream & print3D(std::ostream& s, double x, double y, double z) {
6  return s << " (" << x << ',' << y << ',' << z << ") ";
7  }
8  std::ostream & print2D(std::ostream& s, double x, double y) {
9  return s << " (" << x << ',' << y << ") ";
10  }
11 
12 }
std::ostream & print2D(std::ostream &s, double x, double y)
Definition: print.cc:8
std::ostream & print3D(std::ostream &s, double x, double y, double z)
Definition: print.cc:5