JNISpice
version 2.0.0

spice.basic
Class PointingAndAVRecord

java.lang.Object
  extended by spice.basic.PointingRecord
      extended by spice.basic.PointingAndAVRecord

public class PointingAndAVRecord
extends PointingRecord

Class PointingAndAVRecord encapsulates outputs from C-kernel pointing and angular velocity lookups.

Most methods of this class are inherited from PointingRecord; see that class for details.

Version 1.0.0 13-DEC-2009 (NJB)


Constructor Summary
PointingAndAVRecord()
          No-arguments constructor.
PointingAndAVRecord(Instrument inst, Time t, ReferenceFrame ref, Duration tolerance)
          Return a PointingAndAVRecord for a specified instrument or structure at a given time, using a specified lookup tolerance.
PointingAndAVRecord(PointingAndAVRecord rec)
          Copy constructor.
 
Method Summary
 Vector3 getAngularVelocity()
          Obtain an angular velocity vector from a PointingAndAVRecord.
 
Methods inherited from class spice.basic.PointingRecord
getActualSCLKTime, getCMatrix, getInstrument, getReferenceFrame, getRequestSCLKTime, getTolerance, wasFound
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointingAndAVRecord

public PointingAndAVRecord()
No-arguments constructor.


PointingAndAVRecord

public PointingAndAVRecord(PointingAndAVRecord rec)
                    throws SpiceException
Copy constructor. This constructor creates a deep copy.

Throws:
SpiceException

PointingAndAVRecord

public PointingAndAVRecord(Instrument inst,
                           Time t,
                           ReferenceFrame ref,
                           Duration tolerance)
                    throws SpiceException
Return a PointingAndAVRecord for a specified instrument or structure at a given time, using a specified lookup tolerance.

Throws:
SpiceException
Method Detail

getAngularVelocity

public Vector3 getAngularVelocity()
                           throws PointingNotFoundException,
                                  SpiceException
Obtain an angular velocity vector from a PointingAndAVRecord. The vector is available only if pointing was found when the record was created.

This vector represents the angular velocity of the instrument frame relative to the base frame and is expressed relative to the base frame.

The angular velocity vector has units of radians/second.

Throws:
PointingNotFoundException
SpiceException

JNISpice
version 2.0.0

JNISpice Alpha Test Version 2.0.0 28-JAN-2017 (NJB)