Package org.orekit.tutorials.yaml
Class TutorialBody
- java.lang.Object
-
- org.orekit.tutorials.yaml.TutorialBody
-
public class TutorialBody extends Object
Initial data for the central body.Data are read from a YAML file.
- Author:
- Bryan Cazabonne
-
-
Constructor Summary
Constructors Constructor Description TutorialBody()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.orekit.frames.Frame
getEarthFrame()
Get the Earth frame.double
getEquatorialRadius()
Get the equatorial radius of the body.String
getFrameName()
Get the name of the body frame related to body shape.int
getIersConventionYear()
Get the year of the IERS Convention (1996, 2003 or 2010).double
getInverseFlattening()
Get the inverse flattening of the body.void
setEquatorialRadius(double equatorialRadius)
Set the equatorial radius of the body.void
setFrameName(String frameName)
Set the name of the body frame related to body shape.void
setIersConventionYear(int iersConventionYear)
Set the year of the IERS Convention (1996, 2003 or 2010).void
setInverseFlattening(double inverseFlattening)
Set the inverse flattening of the body.
-
-
-
Method Detail
-
getIersConventionYear
public int getIersConventionYear()
Get the year of the IERS Convention (1996, 2003 or 2010).- Returns:
- the year of the IERS Convention
-
setIersConventionYear
public void setIersConventionYear(int iersConventionYear)
Set the year of the IERS Convention (1996, 2003 or 2010).- Parameters:
iersConventionYear
- year of the IERS Convention
-
getFrameName
public String getFrameName()
Get the name of the body frame related to body shape.- Returns:
- the name of the body frame related to body shape.
-
setFrameName
public void setFrameName(String frameName)
Set the name of the body frame related to body shape.- Parameters:
frameName
- name of the body frame related to body shape.
-
getEquatorialRadius
public double getEquatorialRadius()
Get the equatorial radius of the body.- Returns:
- the equatorial radius of the body (m)
-
setEquatorialRadius
public void setEquatorialRadius(double equatorialRadius)
Set the equatorial radius of the body.- Parameters:
equatorialRadius
- equatorial radius of the body (m)
-
getInverseFlattening
public double getInverseFlattening()
Get the inverse flattening of the body.- Returns:
- the inverse flattening of the body
-
setInverseFlattening
public void setInverseFlattening(double inverseFlattening)
Set the inverse flattening of the body.- Parameters:
inverseFlattening
- inverse flattening of the body
-
getEarthFrame
public org.orekit.frames.Frame getEarthFrame()
Get the Earth frame.We consider Earth frames are the frames with name starting with "ITRF".
- Returns:
- the Earth frame
-
-