![]() |
VR-Forces Developer's Guide
|
Result data from a ballistic-solver calculation.
Public Member Functions | |
| DtFiringSolution () | |
| virtual | ~DtFiringSolution () |
| virtual const dvec3 & | direction () const |
| virtual double | angle () const |
| virtual double | timeToTarget () const |
| virtual bool | hasConverged () const |
| virtual void | setDirection (const dvec3 &direction) |
| virtual void | setAngle (double angle) |
| virtual void | setTimeToTarget (double time) |
| virtual void | setHasConverged (bool converged) |
Protected Attributes | |
| dvec3 | myDirection |
| double | myAngle |
| double | myTimeToTarget |
| bool | myHasConverged |
| makVrv::DtFiringSolution::DtFiringSolution | ( | ) |
Default constructor.
|
virtual |
Destructor.
|
virtual |
Returns the unit firing direction vector.
|
virtual |
Returns the launch angle above horizontal in radians.
|
virtual |
Returns the predicted time to target in seconds.
|
virtual |
Returns whether the iterative solver converged.
|
virtual |
Sets the unit firing direction vector.
|
virtual |
Sets the launch angle above horizontal in radians.
|
virtual |
Sets the predicted time to target in seconds.
|
virtual |
Sets whether the solver converged.
|
protected |
Unit vector indicating the direction to fire.
|
protected |
Launch angle above horizontal in radians.
|
protected |
Predicted time for the projectile to reach the target.
|
protected |
Whether the iterative solver converged.