- java.lang.Object
-
- spice.basic.PointingRecord
-
- 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)
-
-
Field Summary
-
Fields inherited from class spice.basic.PointingRecord
actualSCLKTime, CMatrix, pointingFound, ref, requestInst, requestSCLKTime, requestTol
-
-
Constructor Summary
Constructors Constructor Description 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.This constructor creates a deep copy.
-
Method Summary
Modifier and Type Method Description Vector3
getAngularVelocity()
Obtain an angular velocity vector from a PointingAndAVRecord.The vector is available only if pointing was found when the record was created.-
Methods inherited from class spice.basic.PointingRecord
getActualSCLKTime, getCMatrix, getInstrument, getReferenceFrame, getRequestSCLKTime, getTolerance, wasFound
-
-
-
-
Field Detail
-
angvel
private Vector3 angvel
-
-
Constructor Detail
-
PointingAndAVRecord
public PointingAndAVRecord()
No-arguments constructor.
-
PointingAndAVRecord
public PointingAndAVRecord(PointingAndAVRecord rec) throws SpiceException
Copy constructor.This constructor creates a deep copy.- Parameters:
rec
- PointingAndAVRecord- Throws:
SpiceException
- exception
-
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
- Instrumenttolerance
- Durationt
- Timeref
- 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
- exceptionSpiceException
- exception
-
-