EMANE  1.2.1
EMANE::Velocity Class Reference

Holds the velocity elements associated with an NEM's location information. More...

#include <velocity.h>

Public Member Functions

 Velocity ()
 
 Velocity (double dAzimuthDegrees, double dElevationDegrees, double dMagnitudeMetersPerSecond)
 
double getAzimuthDegrees () const
 
double getElevationDegrees () const
 
double getAzimuthRadians () const
 
double getElevationRadians () const
 
double getMagnitudeMetersPerSecond () const
 
bool operator== (const Velocity &rhs) const
 

Detailed Description

Holds the velocity elements associated with an NEM's location information.

Note
Instances are immutable

Definition at line 48 of file velocity.h.

Constructor & Destructor Documentation

◆ Velocity() [1/2]

EMANE::Velocity::Velocity ( )
inline

Creates a default Velocity

Definition at line 36 of file velocity.inl.

◆ Velocity() [2/2]

EMANE::Velocity::Velocity ( double  dAzimuthDegrees,
double  dElevationDegrees,
double  dMagnitudeMetersPerSecond 
)
inline

Creates a Velocity instance

Parameters
dAzimuthDegreesAzimuth vector component in degrees
dElevationDegreesElevation vector component in degrees
dMagnitudeMetersPerSecondTotal velocity scalar in meters/second

Definition at line 44 of file velocity.inl.

Member Function Documentation

◆ getAzimuthDegrees()

double EMANE::Velocity::getAzimuthDegrees ( ) const
inline

Gets the azimuth vector component in degrees

Returns
azimuth vector component

Definition at line 54 of file velocity.inl.

◆ getAzimuthRadians()

double EMANE::Velocity::getAzimuthRadians ( ) const
inline

Gets the azimuth vector component in radians

Returns
azimuth vector component

Definition at line 72 of file velocity.inl.

◆ getElevationDegrees()

double EMANE::Velocity::getElevationDegrees ( ) const
inline

Gets the elevation vector component in degrees

Returns
elevation vector component

Definition at line 60 of file velocity.inl.

◆ getElevationRadians()

double EMANE::Velocity::getElevationRadians ( ) const
inline

Gets the elevation vector component in radians

Returns
elevation vector component

Definition at line 78 of file velocity.inl.

◆ getMagnitudeMetersPerSecond()

double EMANE::Velocity::getMagnitudeMetersPerSecond ( ) const
inline

Gets the total veclocity scalar in meters/second

Returns
Total velocity scalar

Definition at line 66 of file velocity.inl.

◆ operator==()

bool EMANE::Velocity::operator== ( const Velocity rhs) const
inline

Compares instance for equality

Returns
True if equal False otherwise

Definition at line 84 of file velocity.inl.


The documentation for this class was generated from the following files: