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
-
inline virtual std::string_view typeString() const noexcept override#
Returns the type string of Base.
- Returns:
The type string.
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(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.
-
SpiceFrameToFrame(kc::ks_ptr<SpiceFrame> &oframe, kc::ks_ptr<SpiceFrame> &pframe)#