fr.cnes.genopus.nonWidget.attitudes
Class CustomSunPointing

java.lang.Object
  extended by org.orekit.attitudes.AbstractAttitudeLaw
      extended by org.orekit.attitudes.TwoDirectionsAttitude
          extended by org.orekit.attitudes.SunPointing
              extended by 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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.orekit.attitudes.AttitudeProvider
getAttitude, getAttitude, setSpinDerivativesComputation
 

Constructor Detail

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 direction
secondAxis - 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 orbit
firstAxis - satellite axis aligned with the first direction
secondAxis - 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)
Method Detail

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.