WSF
WsfPathList::RotationSegment Class Reference

Represents a rotation around an axis. Behaves using values in DynamicsData. More...

#include <WsfPathList.hpp>

Inheritance diagram for WsfPathList::RotationSegment:
Collaboration diagram for WsfPathList::RotationSegment:

Public Member Functions

 RotationSegment ()
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 Member Functions inherited from WsfPathList::DynamicsData
 DynamicsData ()
void SetLinearAcceleration (double aAcceleration)
void SetClimbRate (double aClimbRate)
void SetFlightAngle (double aFlightAngle)

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.
Public Attributes inherited from WsfPathList::DynamicsData
double mLinearAcceleration
 Linear acceleration applied to the duration of the segment.
double mClimbRate
 Climb rate applied to the duration of the segment.
double mFlightAngle
 Flight angle applied to the duration of the segment.

Detailed Description

Represents a rotation around an axis. Behaves using values in DynamicsData.

Constructor & Destructor Documentation

◆ RotationSegment()

WsfPathList::RotationSegment::RotationSegment ( )
inline

References mRoll.

Referenced by Clone().

Member Function Documentation

◆ Clone()

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

Returns a copy of the segment.

Implements WsfPathList::Segment.

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

◆ ComputeState()

void WsfPathList::RotationSegment::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 WsfPathList::DynamicsData::DynamicsData(), mRoll, and WsfPathList::RotationData::RotationData().

◆ Print()

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

◆ SetTargetRoll()

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

References mRoll.

Referenced by WsfPathComputer::Rotate().

Member Data Documentation

◆ mRoll

double WsfPathList::RotationSegment::mRoll

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