All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.orekit.bodies.IAUPole Maven / Gradle / Ivy

Go to download

OREKIT (ORbits Extrapolation KIT) is a low level space dynamics library. It provides basic elements (orbits, dates, attitude, frames ...) and various algorithms to handle them (conversions, analytical and numerical propagation, pointing ...).

There is a newer version: 12.2
Show newest version
/* Copyright 2002-2022 CS GROUP
 * Licensed to CS GROUP (CS) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * CS licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.orekit.bodies;

import java.io.Serializable;

import org.hipparchus.CalculusFieldElement;
import org.hipparchus.geometry.euclidean.threed.FieldVector3D;
import org.hipparchus.geometry.euclidean.threed.Vector3D;
import org.orekit.time.AbsoluteDate;
import org.orekit.time.FieldAbsoluteDate;

/** Interface for IAU pole and prime meridian orientations.
 * 

* This interface defines methods compliant with the report of the * IAU/IAG Working Group on Cartographic Coordinates and Rotational * Elements of the Planets and Satellites (WGCCRE). These definitions * are common for all recent versions of this report published every * three years. *

*

* The precise values of pole direction and W angle coefficients may vary * from publication year as models are adjusted. The latest value of * constants for implementing this interface can be found in the working group * site. *

* @see CelestialBodies * @author Luc Maisonobe */ public interface IAUPole extends Serializable { /** Get the body North pole direction in ICRF frame. * @param date current date * @return body North pole direction in ICRF frame */ Vector3D getPole(AbsoluteDate date); /** Get the body North pole direction in ICRF frame. * @param date current date * @param type of the field elements * @return body North pole direction in ICRF frame * @since 9.0 */ > FieldVector3D getPole(FieldAbsoluteDate date); /** Get the body Q Node direction in ICRF frame. * @param date current date * @return body Q Node direction in ICRF frame * @since 9.1 */ default Vector3D getNode(AbsoluteDate date) { return Vector3D.crossProduct(Vector3D.PLUS_K, getPole(date)); } /** Get the body Q Node direction in ICRF frame. * @param date current date * @param type of the field elements * @return body Q Node direction in ICRF frame * @since 9.1 */ default > FieldVector3D getNode(FieldAbsoluteDate date) { return FieldVector3D.crossProduct(FieldVector3D.getPlusK(date.getField()), getPole(date)); } /** Get the prime meridian angle. *

* The prime meridian angle is the angle between the Q node and the * prime meridian. represents the body rotation. *

* @param date current date * @return prime meridian vector */ double getPrimeMeridianAngle(AbsoluteDate date); /** Get the prime meridian angle. *

* The prime meridian angle is the angle between the Q node and the * prime meridian. represents the body rotation. *

* @param date current date * @param type of the field elements * @return prime meridian vector * @since 9.0 */ > T getPrimeMeridianAngle(FieldAbsoluteDate date); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy