1 /* Copyright 2022-2025 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
19 /** Container for azimut/elevation/range coordinates as seen from a ground point.
20 * @see org.orekit.frames.TopocentricFrame
21 * @since 12.0
22 */
23 public class TrackingCoordinates {
24
25 /** Azimuth. */
26 private final double azimuth;
27
28 /** Elevation. */
29 private final double elevation;
30
31 /** Range. */
32 private final double range;
33
34 /** Simple constructor.
35 * @param azimuth azimuth
36 * @param elevation elevation
37 * @param range range
38 */
39 public TrackingCoordinates(final double azimuth, final double elevation, final double range) {
40 this.azimuth = azimuth;
41 this.elevation = elevation;
42 this.range = range;
43 }
44
45 /** Get the azimuth.
46 * <p>The azimuth is the angle between the North direction at local point and
47 * the projection in local horizontal plane of the direction from local point
48 * to given point. Azimuth angles are counted clockwise, i.e positive towards the East.</p>
49 * @return azimuth
50 */
51 public double getAzimuth() {
52 return azimuth;
53 }
54
55 /** Get the elevation.
56 * <p>The elevation is the angle between the local horizontal and
57 * the direction from local point to given point.</p>
58 * @return elevation
59 */
60 public double getElevation() {
61 return elevation;
62 }
63
64 /** Get the range.
65 * @return range
66 */
67 public double getRange() {
68 return range;
69 }
70
71 }
72
73
74