Module JNISpice
Package spice.basic

Class 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)

    • Field Detail

    • Constructor Detail

      • PointingAndAVRecord

        public PointingAndAVRecord()
        No-arguments constructor.
      • 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.
        Parameters:
        inst - Instrument
        tolerance - Duration
        t - Time
        ref - ReferenceFrame
        Throws:
        SpiceException - exception
    • 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.

        Returns:
        Vector3
        Throws:
        PointingNotFoundException - exception
        SpiceException - exception