fr.cnes.sirius.patrius.guidance
Class QuaternionPolynomialSegment

java.lang.Object
  extended by fr.cnes.sirius.patrius.guidance.QuaternionPolynomialSegment

public final class QuaternionPolynomialSegment
extends Object

This class represents a quaternion polynomial guidance profile on a segment.

Since:
1.3
Version:
$Id: QuaternionPolynomialSegment.java 17585 2017-05-10 13:27:59Z bignon $
Author:
Tiziana Sabatini
Concurrency :
conditionally thread-safe
Concurrency comment :
thread-safe if the UnivariateFunction attributes are thread-safe

Constructor Summary
QuaternionPolynomialSegment(PolynomialFunctionLagrangeForm q0, PolynomialFunctionLagrangeForm q1, PolynomialFunctionLagrangeForm q2, PolynomialFunctionLagrangeForm q3, AbsoluteDate date0, AbsoluteDateInterval timeInterval)
          Build a quaternion polynomial guidance profile on a segment.
The polynomial representing the quaternion components are on lagrange form.
QuaternionPolynomialSegment(PolynomialFunction q0, PolynomialFunction q1, PolynomialFunction q2, PolynomialFunction q3, AbsoluteDate date0, AbsoluteDateInterval timeInterval)
          Build a quaternion polynomial guidance profile on a segment.
The polynomial representing the quaternion components are generic polynomial functions.
 
Method Summary
 Rotation getOrientation(AbsoluteDate date)
          Get the orientation from the quaternion polynomials at a given date.
 double[] getQ0Coefficients()
           
 double[] getQ1Coefficients()
           
 double[] getQ2Coefficients()
           
 double[] getQ3Coefficients()
           
 AbsoluteDateInterval getTimeInterval()
          Get the time interval of the guidance profile segment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuaternionPolynomialSegment

public QuaternionPolynomialSegment(PolynomialFunctionLagrangeForm q0,
                                   PolynomialFunctionLagrangeForm q1,
                                   PolynomialFunctionLagrangeForm q2,
                                   PolynomialFunctionLagrangeForm q3,
                                   AbsoluteDate date0,
                                   AbsoluteDateInterval timeInterval)
Build a quaternion polynomial guidance profile on a segment.
The polynomial representing the quaternion components are on lagrange form.

Parameters:
q0 - the polynomial function representing the q0 quaternion component
q1 - the polynomial function representing the q1 quaternion component
q2 - the polynomial function representing the q2 quaternion component
q3 - the polynomial function representing the q3 quaternion component
date0 - the date zero of the polynomial functions
timeInterval - the time interval of the segment

QuaternionPolynomialSegment

public QuaternionPolynomialSegment(PolynomialFunction q0,
                                   PolynomialFunction q1,
                                   PolynomialFunction q2,
                                   PolynomialFunction q3,
                                   AbsoluteDate date0,
                                   AbsoluteDateInterval timeInterval)
Build a quaternion polynomial guidance profile on a segment.
The polynomial representing the quaternion components are generic polynomial functions.

Parameters:
q0 - the polynomial function representing the q0 quaternion component
q1 - the polynomial function representing the q1 quaternion component
q2 - the polynomial function representing the q2 quaternion component
q3 - the polynomial function representing the q3 quaternion component
date0 - the date zero of the polynomial functions
timeInterval - the time interval of the segment
Method Detail

getOrientation

public Rotation getOrientation(AbsoluteDate date)
Get the orientation from the quaternion polynomials at a given date.

Parameters:
date - the date
Returns:
the orientation at a given date

getTimeInterval

public AbsoluteDateInterval getTimeInterval()
Get the time interval of the guidance profile segment.

Returns:
the time interval of the guidance profile segment.

getQ0Coefficients

public double[] getQ0Coefficients()
Returns:
the coefficients of the polynomial function representing q0.

getQ1Coefficients

public double[] getQ1Coefficients()
Returns:
the coefficients of the polynomial function representing q1.

getQ2Coefficients

public double[] getQ2Coefficients()
Returns:
the coefficients of the polynomial function representing q2.

getQ3Coefficients

public double[] getQ3Coefficients()
Returns:
the coefficients of the polynomial function representing q3.


Copyright © 2017 CNES. All Rights Reserved.