WSF
src
wsf_plugins
wsf_p6dof
p6dof
source
P6DofGravity.hpp
Go to the documentation of this file.
1
// ****************************************************************************
2
// CUI
3
//
4
// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5
//
6
// Copyright 2003-2015 The Boeing Company. All rights reserved.
7
//
8
// The use, dissemination or disclosure of data in this file is subject to
9
// limitation or restriction. See accompanying README and LICENSE for details.
10
// ****************************************************************************
11
12
#ifndef P6DOFGRAVITY_H
13
#define P6DOFGRAVITY_H
14
15
#include "p6dof_export.h"
16
17
class
UtVec3dX;
18
20
21
class
P6DOF_EXPORT
P6DofGravity
22
{
23
public
:
24
P6DofGravity
() =
default
;
25
~P6DofGravity
() =
default
;
26
P6DofGravity
&
operator=
(
const
P6DofGravity
& other) =
delete
;
27
28
P6DofGravity
*
Clone
()
const
;
29
30
// This returns a gravity vector in the specified coordinate frame
31
static
UtVec3dX
NormalizedGravitationalAccel
(
const
double
aLat,
32
const
double
aLon,
33
const
double
aAlt_m,
34
const
bool
aUseSphericalEarth);
35
36
// This returns a gravity magnitude at the specified altitude
37
static
double
NormalizedGravitationalAccel
(
const
double
aAlt_m);
38
39
// This returns a gravity vector in the specified coordinate frame
40
static
UtVec3dX
NormalizedGravitationalAccel
(
const
UtVec3dX& aLocation_m,
const
bool
aUseSphericalEarth);
41
42
protected
:
43
P6DofGravity
(
const
P6DofGravity
& aSrc) =
default
;
44
};
45
46
#endif
P6DofGravity::P6DofGravity
P6DofGravity(const P6DofGravity &aSrc)=default
P6DofGravity::Clone
P6DofGravity * Clone() const
Definition
P6DofGravity.cpp:18
P6DofGravity::NormalizedGravitationalAccel
static UtVec3dX NormalizedGravitationalAccel(const double aLat, const double aLon, const double aAlt_m, const bool aUseSphericalEarth)
Definition
P6DofGravity.cpp:23
P6DofGravity::operator=
P6DofGravity & operator=(const P6DofGravity &other)=delete
P6DofGravity::P6DofGravity
P6DofGravity()=default
P6DofGravity::~P6DofGravity
~P6DofGravity()=default
Copyrights Multiple, All Rights Reserved