public class AttractionData extends Object implements Serializable
GridSystem
(currently either in 3D coordinates or spherical coordinates).
This class is to be used in conjunction with GridGravityModel
for attraction force defined by a grid.
Constructor and Description |
---|
AttractionData(double gm,
Vector3D centerOfMass,
GridSystem grid,
AttractionDataPoint[] data)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Vector3D |
getCenterOfMass()
Returns the center of mass position of the body.
|
AttractionDataPoint[] |
getData()
Returns the attraction data points.
|
double |
getGM()
Returns the gravitational constant of the body.
|
GridSystem |
getGrid()
Returns the grid system.
|
Parameter |
getMuParameter()
Returns the gravitational constant of the body as a parameter.
|
void |
setGM(double gmIn)
Set the central attraction coefficient.
|
public AttractionData(double gm, Vector3D centerOfMass, GridSystem grid, AttractionDataPoint[] data)
gm
- gravitational constant of bodycenterOfMass
- center of massgrid
- grid systemdata
- attraction data pointspublic Parameter getMuParameter()
public double getGM()
public void setGM(double gmIn)
gmIn
- the central attraction coefficientpublic Vector3D getCenterOfMass()
public GridSystem getGrid()
public AttractionDataPoint[] getData()
Copyright © 2023 CNES. All rights reserved.