#include <stdint.h>
#include <vector>
#include <omnetpp.h>
Go to the source code of this file.
Detailed Description
- Author
- Bernhard Heep
Definition in file CoordinateSystem.h.
Typedef Documentation
typedef std::vector<double> Coords |
Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const Coords & |
coords |
|
) |
| |
Definition at line 236 of file CoordinateSystem.cc.
{
uint8_t dim = coords.size();
if (dim == 0) return os;
os << "< " << coords[0];
for (uint8_t i = 1; i < dim; i++) {
os << ", " << coords[i];
}
os << " >";
return os;
}
Definition at line 147 of file CoordinateSystem.cc.
{
if (!info.
getCoords().size())
throw cRuntimeError(
"dim = 0");
os << "< ";
uint8_t i;
for (i = 0; i < info.
getCoords().size() - 1; ++i) {
}
return os;
}