Class SpiceFrameToFrame#

Inheritance Relationships#

Base Type#

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:
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:
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.