fr.cnes.genopus.nonWidget.attitudes
Class CustomLofOffset

java.lang.Object
  extended by org.orekit.attitudes.AbstractAttitudeLaw
      extended by org.orekit.attitudes.LofOffset
          extended by fr.cnes.genopus.nonWidget.attitudes.CustomLofOffset
All Implemented Interfaces:
CustomAttitudeLaw, Serializable, org.orekit.attitudes.AttitudeLaw, org.orekit.attitudes.AttitudeProvider

public class CustomLofOffset
extends org.orekit.attitudes.LofOffset
implements CustomAttitudeLaw

Custom class to add requiered getters method not yet present in PATRIUS.

Author:
ffsm
See Also:
Serialized Form

Constructor Summary
CustomLofOffset(org.orekit.frames.Frame pInertialFrame, org.orekit.frames.LOFType type)
           
CustomLofOffset(org.orekit.frames.Frame pInertialFrame, org.orekit.frames.LOFType type, org.apache.commons.math3.geometry.euclidean.threed.RotationOrder order, double alpha1, double alpha2, double alpha3)
           
CustomLofOffset(org.orekit.frames.LOFType type)
           
CustomLofOffset(org.orekit.frames.LOFType type, org.apache.commons.math3.geometry.euclidean.threed.RotationOrder order, double alpha1, double alpha2, double alpha3)
           
 
Method Summary
 org.orekit.frames.LOFType getLofType()
          Getter for the type of Local Orbital Frame.
 org.orekit.frames.Frame getPseudoInertialFrame()
          Getter for the inertial frame with respect to which orbit should be computed.
 CustomRotation getRotation()
          Getter for the rotation from reference frame to satellite frame.
 String toString()
          
 
Methods inherited from class org.orekit.attitudes.LofOffset
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

CustomLofOffset

public CustomLofOffset(org.orekit.frames.LOFType type)
Parameters:
type - - type of Local Orbital Frame
See Also:
LofOffset.LofOffset(LOFType)

CustomLofOffset

public CustomLofOffset(org.orekit.frames.Frame pInertialFrame,
                       org.orekit.frames.LOFType type)
                throws org.orekit.errors.OrekitException
Parameters:
pInertialFrame - - inertial frame with respect to which orbit should be computed. This frame is the pivot in the transformation from the actual frame to the local orbital frame.
type - - type of Local Orbital Frame
Throws:
org.orekit.errors.OrekitException - if inertialFrame is not a pseudo-inertial frame
See Also:
LofOffset.LofOffset(Frame, LOFType)

CustomLofOffset

public CustomLofOffset(org.orekit.frames.LOFType type,
                       org.apache.commons.math3.geometry.euclidean.threed.RotationOrder order,
                       double alpha1,
                       double alpha2,
                       double alpha3)
Parameters:
type - - type of Local Orbital Frame
order - - order of rotations to use for (alpha1, alpha2, alpha3) composition
alpha1 - - angle of the first elementary rotation
alpha2 - - angle of the second elementary rotation
alpha3 - - angle of the third elementary rotation
See Also:
LofOffset.LofOffset(LOFType, RotationOrder, double, double, double)

CustomLofOffset

public CustomLofOffset(org.orekit.frames.Frame pInertialFrame,
                       org.orekit.frames.LOFType type,
                       org.apache.commons.math3.geometry.euclidean.threed.RotationOrder order,
                       double alpha1,
                       double alpha2,
                       double alpha3)
                throws org.orekit.errors.OrekitException
Parameters:
pInertialFrame - - inertial frame with respect to which orbit should be computed. This frame is the pivot in the transformation from the actual frame to the local orbital frame.
type - - type of Local Orbital Frame
order - - order of rotations to use for (alpha1, alpha2, alpha3) composition
alpha1 - - angle of the first elementary rotation
alpha2 - - angle of the second elementary rotation
alpha3 - - angle of the third elementary rotation
Throws:
org.orekit.errors.OrekitException - if inertialFrame is not a pseudo-inertial frame
See Also:
LofOffset.LofOffset(Frame, LOFType, RotationOrder, double, double, double)
Method Detail

getPseudoInertialFrame

public org.orekit.frames.Frame getPseudoInertialFrame()
Getter for the inertial frame with respect to which orbit should be computed. This frame is the pivot in the transformation from the actual frame to the local orbital frame.

Returns:
the inertial frame with respect to which orbit should be computed. This frame is the pivot in the transformation from the actual frame to the local orbital frame

getLofType

public org.orekit.frames.LOFType getLofType()
Getter for the type of Local Orbital Frame.

Returns:
the type of Local Orbital Frame

getRotation

public CustomRotation getRotation()
Getter for the rotation from reference frame to satellite frame.

Returns:
the rotation from reference frame to satellite frame

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2017. All rights reserved.