1 /* Copyright 2020-2025 Exotrail
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.control.heuristics.lambert;
18
19 import org.hipparchus.geometry.euclidean.threed.Vector3D;
20
21 /**
22 * Class holding the two velocity vectors of a Lambert arc.
23 *
24 * @author Romain Serra
25 * @since 13.1
26 */
27 public class LambertBoundaryVelocities {
28
29 /** Initial velocity vector. */
30 private final Vector3D initialVelocity;
31
32 /** Terminal velocity vector. */
33 private final Vector3D terminalVelocity;
34
35 /**
36 * Constructor.
37 * @param initialVelocity initial velocity
38 * @param terminalVelocity terminal velocity
39 */
40 public LambertBoundaryVelocities(final Vector3D initialVelocity, final Vector3D terminalVelocity) {
41 this.initialVelocity = initialVelocity;
42 this.terminalVelocity = terminalVelocity;
43 }
44
45 /**
46 * Getter for the initial velocity vector.
47 * @return initial velocity
48 */
49 public Vector3D getInitialVelocity() {
50 return initialVelocity;
51 }
52
53 /**
54 * Getter for the terminal velocity vector.
55 * @return terminal velocity
56 */
57 public Vector3D getTerminalVelocity() {
58 return terminalVelocity;
59 }
60 }