TrackingCoordinates.java

  1. /* Copyright 2002-2024 Luc Maisonobe
  2.  * Licensed to CS GROUP (CS) under one or more
  3.  * contributor license agreements.  See the NOTICE file distributed with
  4.  * this work for additional information regarding copyright ownership.
  5.  * CS licenses this file to You under the Apache License, Version 2.0
  6.  * (the "License"); you may not use this file except in compliance with
  7.  * the License.  You may obtain a copy of the License at
  8.  *
  9.  *   http://www.apache.org/licenses/LICENSE-2.0
  10.  *
  11.  * Unless required by applicable law or agreed to in writing, software
  12.  * distributed under the License is distributed on an "AS IS" BASIS,
  13.  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14.  * See the License for the specific language governing permissions and
  15.  * limitations under the License.
  16.  */
  17. package org.orekit.utils;

  18. /** Container for azimut/elevation/range coordinates as seen from a ground point.
  19.  * @see org.orekit.frames.TopocentricFrame
  20.  * @since 12.0
  21.  */
  22. public class TrackingCoordinates {

  23.     /** Azimuth. */
  24.     private final double azimuth;

  25.     /** Elevation. */
  26.     private final double elevation;

  27.     /** Range. */
  28.     private final double range;

  29.     /** Simple constructor.
  30.      * @param azimuth azimuth
  31.      * @param elevation elevation
  32.      * @param range range
  33.      */
  34.     public TrackingCoordinates(final double azimuth, final double elevation, final double range) {
  35.         this.azimuth   = azimuth;
  36.         this.elevation = elevation;
  37.         this.range     = range;
  38.     }

  39.     /** Get the azimuth.
  40.      * <p>The azimuth is the angle between the North direction at local point and
  41.      * the projection in local horizontal plane of the direction from local point
  42.      * to given point. Azimuth angles are counted clockwise, i.e positive towards the East.</p>
  43.      * @return azimuth
  44.      */
  45.     public double getAzimuth() {
  46.         return azimuth;
  47.     }

  48.     /** Get the elevation.
  49.      * <p>The elevation is the angle between the local horizontal and
  50.      * the direction from local point to given point.</p>
  51.      * @return elevation
  52.      */
  53.     public double getElevation() {
  54.         return elevation;
  55.     }

  56.     /** Get the range.
  57.      * @return range
  58.      */
  59.     public double getRange() {
  60.         return range;
  61.     }

  62. }