WSF
WsfPathList::RotationArcSegment Class Reference

Represents a rotation around an axis, using constant speed / altitude. More...

#include <WsfPathList.hpp>

Inheritance diagram for WsfPathList::RotationArcSegment:
Collaboration diagram for WsfPathList::RotationArcSegment:

Public Member Functions

 RotationArcSegment ()
SegmentClone () const override
 Returns a copy of the segment.
void ComputeState (double aRelativeSimTime, WsfPathState &aState) override
void SetTargetRoll (double aRoll)
void Print (ut::log::MessageStream &aStream) override
 Appends data as notes to aStream.
Public Member Functions inherited from WsfPathList::Segment
 Segment ()
virtual ~Segment ()=default
void Initialize (double aDuration, const WsfPathState &aState)
 Initialize the basic members of the segment.
void SetRollRate (double aRollRate)
const WsfPathStateGetInitialState () const
 Returns the state at the start of the segment.
double GetDuration () const
 Returns the length of time to complete this segment.
void SetDuration (double aDuration)
 Sets the length of time to complete this segment.
Public Member Functions inherited from WsfPathList::RotationData
 RotationData ()
void InitializeRotation (UtVec3d aInitialLocationWCS, UtVec3d aRotationAxisWCS)
void SetRotationRadius (double aEarthRadius)

Public Attributes

double mRoll
Public Attributes inherited from WsfPathList::Segment
WsfPathState mInitialState
 The initial state of the segment. This should be equivalent to ComputeState(0.0).
double mDuration
 The length of simulation time this duration takes to complete.
double mRollRate
 The roll rate used when changing roll angle.
bool mIsApproximation
 Indicates this segment is an approximation.
Public Attributes inherited from WsfPathList::RotationData
double mRotationRadius
 Radius of the rotation. (radius of turn, or radius of earth).
UtVec3d mInitialLocationWCS
 Initial location in WCS. This is rotated to find new position.
UtVec3d mRotationAxis
 Axis of rotation. May represent a turn, or straight flight (around a spherical earth).
UtVec3d mInitialDirectionWCS
 Initial direction in WCS. This is rotated to find new direction.

Detailed Description

Represents a rotation around an axis, using constant speed / altitude.

Constructor & Destructor Documentation

◆ RotationArcSegment()

WsfPathList::RotationArcSegment::RotationArcSegment ( )
inline

References mRoll.

Referenced by Clone().

Member Function Documentation

◆ Clone()

Segment * WsfPathList::RotationArcSegment::Clone ( ) const
inlineoverridevirtual

Returns a copy of the segment.

Implements WsfPathList::Segment.

References RotationArcSegment(), and WsfPathList::Segment::Segment().

◆ ComputeState()

void WsfPathList::RotationArcSegment::ComputeState ( double aRelativeSimTime,
WsfPathState & aState )
overridevirtual

Computes a state along this segment

Parameters
aRelativeSimTimeThe length of simulation-time after the segment started
aStateThe state at aRelativeSimTime along this segment

Implements WsfPathList::Segment.

References WsfPathState::mOrientationNED, mRoll, and WsfPathList::RotationData::RotationData().

Referenced by WsfPathComputer::Rotate().

◆ Print()

void WsfPathList::RotationArcSegment::Print ( ut::log::MessageStream & aStream)
overridevirtual

Appends data as notes to aStream.

Reimplemented from WsfPathList::Segment.

References WsfPathList::RotationData::mRotationRadius, and WsfPathList::Segment::Print().

◆ SetTargetRoll()

void WsfPathList::RotationArcSegment::SetTargetRoll ( double aRoll)
inline

References mRoll.

Referenced by WsfPathComputer::Rotate().

Member Data Documentation

◆ mRoll

double WsfPathList::RotationArcSegment::mRoll

The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved