fr.cnes.genopus.nonWidget.attitudes
Class CustomSunPointing
java.lang.Object
org.orekit.attitudes.AbstractAttitudeLaw
org.orekit.attitudes.TwoDirectionsAttitude
org.orekit.attitudes.SunPointing
fr.cnes.genopus.nonWidget.attitudes.CustomSunPointing
- All Implemented Interfaces:
- CustomAttitudeLaw, Serializable, org.orekit.attitudes.AttitudeLaw, org.orekit.attitudes.AttitudeProvider
public class CustomSunPointing
- extends org.orekit.attitudes.SunPointing
- implements CustomAttitudeLaw
Custom class to add requiered getters method not yet present in PATRIUS.
- Author:
- ffsm
- See Also:
- Serialized Form
|
Constructor Summary |
CustomSunPointing(org.orekit.bodies.CelestialBody body,
org.apache.commons.math3.geometry.euclidean.threed.Vector3D firstAxis,
org.apache.commons.math3.geometry.euclidean.threed.Vector3D secondAxis)
|
CustomSunPointing(org.apache.commons.math3.geometry.euclidean.threed.Vector3D firstAxis,
org.apache.commons.math3.geometry.euclidean.threed.Vector3D secondAxis)
|
|
Method Summary |
org.apache.commons.math3.geometry.euclidean.threed.Vector3D |
getFirstAxis()
Getter for the satellite axis aligned with the first direction. |
org.apache.commons.math3.geometry.euclidean.threed.Vector3D |
getSecondAxis()
Getter for the satellite axis aligned at best with the second direction. |
String |
toString()
|
| Methods inherited from class org.orekit.attitudes.TwoDirectionsAttitude |
getAttitude |
| Methods inherited from class org.orekit.attitudes.AbstractAttitudeLaw |
getAttitude, getSpinDerivativesComputation, setSpinDerivativesComputation |
| Methods inherited from interface org.orekit.attitudes.AttitudeProvider |
getAttitude, getAttitude, setSpinDerivativesComputation |
CustomSunPointing
public CustomSunPointing(org.apache.commons.math3.geometry.euclidean.threed.Vector3D firstAxis,
org.apache.commons.math3.geometry.euclidean.threed.Vector3D secondAxis)
throws org.orekit.errors.OrekitException
- Parameters:
firstAxis - satellite axis aligned with the first directionsecondAxis - satellite axis aligned at best with the second direction
- Throws:
org.orekit.errors.OrekitException - if the sun cannot be built- See Also:
SunPointing.SunPointing(Vector3D, Vector3D)
CustomSunPointing
public CustomSunPointing(org.orekit.bodies.CelestialBody body,
org.apache.commons.math3.geometry.euclidean.threed.Vector3D firstAxis,
org.apache.commons.math3.geometry.euclidean.threed.Vector3D secondAxis)
throws org.orekit.errors.OrekitException
- Parameters:
body - celestial body associated to the satellite orbitfirstAxis - satellite axis aligned with the first directionsecondAxis - satellite axis aligned at best with the second direction
- Throws:
org.orekit.errors.OrekitException - if the sun cannot be built- See Also:
SunPointing.SunPointing(Vector3D, Vector3D)
getFirstAxis
public org.apache.commons.math3.geometry.euclidean.threed.Vector3D getFirstAxis()
- Getter for the satellite axis aligned with the first direction.
- Returns:
- the satellite axis aligned with the first direction
getSecondAxis
public org.apache.commons.math3.geometry.euclidean.threed.Vector3D getSecondAxis()
- Getter for the satellite axis aligned at best with the second direction.
- Returns:
- the satellite axis aligned at best with the second direction
toString
public String toString()
-
- Overrides:
toString in class Object
Copyright © 2017. All rights reserved.