• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * To change this template, choose Tools | Templates
3  * and open the template in the editor.
4  */
5 package jme3tools.navigation;
6 
7 /**
8  * A utility class to package up a great circle sailing.
9  *
10  * @author Benjamin Jakobus, based on JMarine (by Cormac Gebruers and Benjamin
11  *          Jakobus)
12  *
13  * @version 1.0
14  * @since 1.0
15  */
16 public class GCSailing {
17 
18     private int[] courses;
19     private float[] distancesNM;
20 
GCSailing(int[] pCourses, float[] pDistancesNM)21     public GCSailing(int[] pCourses, float[] pDistancesNM) {
22         courses = pCourses;
23         distancesNM = pDistancesNM;
24     }
25 
getCourses()26     public int[] getCourses() {
27         return courses;
28     }
29 
getDistancesNM()30     public float[] getDistancesNM() {
31         return distancesNM;
32     }
33 }
34