Class SpiceFrameToFrame#
Defined in File SpiceFrame.h
Inheritance Relationships#
Base Type#
public Karana::Frame::EdgeFrameToFrame(Class EdgeFrameToFrame)
Class Documentation#
-
class SpiceFrameToFrame : public Karana::Frame::EdgeFrameToFrame#
Class for edges connecting SpiceFrame pairs.
Public Functions
-
SpiceFrameToFrame(kc::ks_ptr<SpiceFrame> &oframe, kc::ks_ptr<SpiceFrame> &pframe)#
Constructor.
- Parameters:
oframe – the SpiceFrame oframe
pframe – the SpiceFrame pframe
Public Static Functions
-
static kc::ks_ptr<SpiceFrameToFrame> lookupOrCreate(kc::ks_ptr<SpiceFrame> &oframe, kc::ks_ptr<SpiceFrame> &pframe)#
Factory method to look up or create a SpiceFrameToFrame.
- Parameters:
oframe – the SpiceFrame oframe
pframe – the SpiceFrame pframe
- Returns:
a SpiceFrameToFrame instance
Protected Functions
-
virtual void _computeTransform(Karana::Math::HomTran &T) override#
Compute the transformation between the oframe and pframe.
This the relTransform data cache callback.
- Parameters:
T – The buffer to place the computed homogeneous transformation in.
-
virtual void _computeVelocity(Karana::Math::SpatialVector &V) override#
Compute the spatial velocity between the oframe and pframe.
This the relSpVel data cache callback.
- Parameters:
V – The buffer to put the computed spatial velocity in.
-
virtual void _computeAccel(Karana::Math::SpatialVector &a) override#
Compute the spatial acceleration between the oframe and pframe.
This the relSpAccel data cache callback.
- Parameters:
a – The buffer to put the computed spatial acceleration in.
-
SpiceFrameToFrame(kc::ks_ptr<SpiceFrame> &oframe, kc::ks_ptr<SpiceFrame> &pframe)#