orsa_body.h File Reference

#include <assert.h>
#include <string>
#include <list>
#include <map>
#include <iostream>
#include "orsa_coord.h"
#include "orsa_common.h"
#include "orsa_file_jpl.h"

Include dependency graph for orsa_body.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  orsa

Functions

bool operator== (const Body &b1, const Body &b2)
bool operator!= (const Body &b1, const Body &b2)
double KineticEnergy (const Body &)


Function Documentation

double KineticEnergy const Body &   ) 
 

bool operator!= const Body &  b1,
const Body &  b2
[inline]
 

Definition at line 218 of file orsa_body.h.

00218 { return !(b1 == b2); }

bool operator== const Body &  b1,
const Body &  b2
[inline]
 

Definition at line 209 of file orsa_body.h.

00209                                                           {
00210     if (b1.BodyId()             != b2.BodyId())              return false;
00211     if (b1.name()               != b2.name())                return false;
00212     if (b1.mass()               != b2.mass())                return false;
00213     if (b1.position()           != b2.position())            return false;
00214     if (b1.velocity()           != b2.velocity())            return false;
00215     return true;
00216   } 


Generated on Tue Jan 11 15:26:37 2005 for liborsa by  doxygen 1.4.0