#include <ProxNodeHandle.h>
#include <CoordinateSystem.h>
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &os, const GnpNpsCoordsInfo &info) |
std::ostream & | operator<< (std::ostream &os, const VivaldiCoordsInfo &info) |
Definition in file CoordinateSystem.cc.
std::ostream& operator<< | ( | std::ostream & | os, | |
const VivaldiCoordsInfo & | info | |||
) |
Definition at line 140 of file CoordinateSystem.cc.
00141 { 00142 if (!info.getCoords().size()) throw cRuntimeError("dim = 0"); 00143 00144 os << "< "; 00145 uint8_t i; 00146 for (i = 0; i < info.getCoords().size() - 1; ++i) { 00147 os << info.getCoords(i) << ", "; 00148 } 00149 os << info.getCoords(i) << " >"; 00150 os << ", Err = " << info.getError(); 00151 if (info.getHeightVector() != -1.0) 00152 os << ", HeightVec = " << info.getHeightVector(); 00153 00154 return os; 00155 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const GnpNpsCoordsInfo & | info | |||
) |
Definition at line 71 of file CoordinateSystem.cc.
00072 { 00073 if (!info.getCoords().size()) throw cRuntimeError("dim = 0"); 00074 00075 os << "< "; 00076 uint8_t i; 00077 for (i = 0; i < info.getCoords().size() - 1; ++i) { 00078 os << info.getCoords(i) << ", "; 00079 } 00080 os << info.getCoords(i) << " >"; 00081 if (info.getLayer() != -1) 00082 os << ", NPS-Layer = " << (int)info.getLayer(); 00083 00084 return os; 00085 }