15 #ifndef LINEARSOURCEFORCE_H 16 #define LINEARSOURCEFORCE_H 18 #include "linearDistanceForce.h" 32 virtual void output(ostream &out)
const;
33 virtual void write(ostream &out,
unsigned int indent=0)
const;
43 static void init_type() {
44 LinearDistanceForce::init_type();
45 register_type(_type_handle,
"LinearSourceForce",
46 LinearDistanceForce::get_class_type());
49 return get_class_type();
51 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
57 #endif // LINEARSOURCEFORCE_H A body on which physics will be applied.
Pure virtual class for sinks and sources.
This is a three-component vector distance (as opposed to a three-component point, which represents a ...
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
A force that acts on a PhysicsObject by way of an Integrator.
virtual void output(ostream &out) const
Write a string representation of this instance to <out>.
virtual void write(ostream &out, unsigned int indent=0) const
Write a string representation of this instance to <out>.
TypeHandle is the identifier used to differentiate C++ class types.