7#include "IsisIlluminator.h"
9#include "SpicePosition.h"
27 bool timeChanged = oldTime != time;
36 return {coord[0] * 1000.0, coord[1] * 1000.0, coord[2] * 1000.0};
45 bool timeChanged = oldTime != time;
49 vector<double> vel = m_pos->
Velocity();
54 return {vel[0] * 1000.0, vel[1] * 1000.0, vel[2] * 1000.0};
IsisIlluminator(SpicePosition *pos)
Create an IsisIlluminator that wraps a SpicePosition.
SensorUtilities::Vec position(double time)
Get the position in meters at a given time.
SensorUtilities::Vec velocity(double time)
Get the velocity in meters at a given time.
Obtain SPICE position information for a body.
const std::vector< double > & Velocity()
Return the current J2000 velocity.
virtual double EphemerisTime() const
Return the current ephemeris time.
virtual const std::vector< double > & SetEphemerisTime(double et)
Return J2000 coordinate at given time.
virtual const std::vector< double > & Coordinate()
Return the current J2000 position.
This is free and unencumbered software released into the public domain.
Namespace for the standard library.