| Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
Particle.ccGo to the documentation of this file.00001 //-*-c++-*- 00002 00003 #include <iostream> 00004 #include <stdlib.h> 00005 00006 #include "Particle.h" 00007 00008 namespace DualCoding { 00009 00010 ostream& operator << (ostream& os, const Particle &p){ 00011 os << "Particle(p=" << p.prob 00012 << ", dx=" << p.dx 00013 << ", dy=" << p.dy 00014 << ", th=" << p.theta 00015 << ", add="; 00016 for (unsigned int i = 0; i<p.addLocal.size(); i++) 00017 os << p.addLocal[i]; 00018 // os << ", del="; 00019 // for (unsigned int i = 0; i<p.deleteWorld.size(); i++) 00020 // os << p.deleteWorld[i] << " "; 00021 // os << endl; 00022 os << ")"; 00023 return os; 00024 } 00025 00026 } // namespace |
|
DualCoding 3.0beta |
Generated Wed Oct 4 00:01:54 2006 by Doxygen 1.4.7 |