Class SpiceFrame2Frame#
Defined in File SpiceFrame.h
Inheritance Relationships#
Base Type#
public Karana::Frame::EdgeFrame2Frame(Class EdgeFrame2Frame)
Class Documentation#
-
class SpiceFrame2Frame : public Karana::Frame::EdgeFrame2Frame#
Class for edges connecting SpiceFrame pairs.
Public Functions
-
SpiceFrame2Frame(kc::ks_ptr<SpiceFrame> &oframe, kc::ks_ptr<SpiceFrame> &pframe)#
Constructor.
- Parameters:
oframe – the SpiceFrame oframe
pframe – the SpiceFrame pframe
-
inline virtual const std::string &typeString() const noexcept override#
Returns the type string of LockingBase.
- Returns:
The type string.
Public Static Functions
-
static kc::ks_ptr<SpiceFrame2Frame> lookupOrCreate(kc::ks_ptr<SpiceFrame> &oframe, kc::ks_ptr<SpiceFrame> &pframe)#
Factory method to look up or create a SpiceFrame2Frame.
- Parameters:
oframe – the SpiceFrame oframe
pframe – the SpiceFrame pframe
- Returns:
a SpiceFrame2Frame instance
Protected Functions
-
virtual void _computeTransform(km::HomTran&) override#
Compute the transformation between the oframe and pframe.
This the relTransform data cache callback.
- Returns:
The computed homogeneous transformation.
-
virtual void _computeVelocity(km::SpatialVector&) override#
Compute the spatial velocity between the oframe and pframe.
This the relSpVel data cache callback.
- Returns:
The computed spatial velocity.
-
virtual void _computeAccel(km::SpatialVector&) override#
Compute the spatial acceleration between the oframe and pframe.
This the relSpAccel data cache callback.
- Returns:
The computed spatial acceleration.
-
SpiceFrame2Frame(kc::ks_ptr<SpiceFrame> &oframe, kc::ks_ptr<SpiceFrame> &pframe)#