All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Modules Pages
GlobalPoint.java
Go to the documentation of this file.
1package com.navigine.idl.java;
2
16public final class GlobalPoint {
17
18
19 /*package*/ final double latitude;
20
21 /*package*/ final double longitude;
22
27 double latitude,
28 double longitude) {
29 this.latitude = latitude;
30 this.longitude = longitude;
31 }
32
36 public double getLatitude() {
37 return latitude;
38 }
39
43 public double getLongitude() {
44 return longitude;
45 }
46
47 @Override
48 public String toString() {
49 return "GlobalPoint{" +
50 "latitude=" + latitude +
51 "," + "longitude=" + longitude +
52 "}";
53 }
54
55}