• 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 rhumb line sailing
9  *
10  * @author Benjamin Jakobus, based on JMarine (by Cormac Gebruers and Benjamin
11  *          Jakobus)
12  * @version 1.0
13  * @since 1.0
14  */
15 public class RLSailing {
16 
17     private double course;
18     private double distNM;
19 
RLSailing(double pCourse, double pDistNM)20     public RLSailing(double pCourse, double pDistNM) {
21         course = pCourse;
22         distNM = pDistNM;
23     }
24 
getCourse()25     public double getCourse() {
26         return course;
27     }
28 
getDistNM()29     public double getDistNM() {
30         return distNM;
31     }
32 }
33