public class AttractionDataPoint extends Object implements Serializable
This class is to be used in conjunction with GridGravityModel
for attraction force defined by a grid.
Constructor and Description |
---|
AttractionDataPoint(SphericalCoordinates coordinates,
Vector3D acceleration,
double potential)
Constructor with spherical coordinates.
|
AttractionDataPoint(Vector3D position,
Vector3D acceleration,
double potential)
Constructor with 3D position.
|
Modifier and Type | Method and Description |
---|---|
Vector3D |
getAcceleration()
Returns the XYZ acceleration.
|
Vector3D |
getPosition()
Returns the position.
|
double |
getPotential()
Returns the potential.
|
SphericalCoordinates |
getSphericalCoordinates()
Returns the spherical coordinates.
|
public AttractionDataPoint(Vector3D position, Vector3D acceleration, double potential)
position
- positionacceleration
- XYZ acceleration at positionpotential
- potential at positionpublic AttractionDataPoint(SphericalCoordinates coordinates, Vector3D acceleration, double potential)
coordinates
- spherical coordinatesacceleration
- XYZ accelerationpotential
- potentialpublic Vector3D getPosition()
public SphericalCoordinates getSphericalCoordinates()
public Vector3D getAcceleration()
public double getPotential()
Copyright © 2023 CNES. All rights reserved.