public final class SpiceChangeFrame extends Object
This class is based on the CHGIRF.for file from the SPICE library.
| Modifier and Type | Field and Description |
|---|---|
static int |
STATE_LENGTH
Length of an state array.
|
| Modifier and Type | Method and Description |
|---|---|
static Array2DRowRealMatrix |
frameRotationMatrix(int refA,
int refB)
Compute the matrix needed to rotate vectors between two standard inertial reference frames.
|
static int |
intertialRefFrameNumber(String name)
Return the index of one of the standard inertial reference frames supported by IRFROT.
|
public static final int STATE_LENGTH
public static int intertialRefFrameNumber(String name)
Based on the IRFNUM routine from the SPICE library
name - Name of standard inertial reference framepublic static Array2DRowRealMatrix frameRotationMatrix(int refA, int refB) throws PatriusException
This method is based on the routine IRFROT of the SPICE library.
refA - Initial reference framerefB - Desired reference framePatriusException - if any of the input frames is not recognizedCopyright © 2024 CNES. All rights reserved.