]> gitweb.fperrin.net Git - GpsPrune.git/blob - src/tim/prune/load/json/JsonPoint.java
Version 20.4, May 2021
[GpsPrune.git] / src / tim / prune / load / json / JsonPoint.java
1 package tim.prune.load.json;
2
3 /**
4  * Structure for holding a single point extracted from the Json
5  */
6 public class JsonPoint
7 {
8         public String _latitude = null, _longitude = null, _altitude = null;
9         public boolean _newSegment = false;
10
11         /**
12          * Constructor
13          * @param inLat latitude string
14          * @param inLon longitude string
15          * @param inAlt altitude string
16          * @param inNewSegment true if this point starts a new segment
17          */
18         public JsonPoint(String inLat, String inLon, String inAlt, boolean inNewSegment)
19         {
20                 _latitude = inLat;
21                 _longitude = inLon;
22                 _altitude = inAlt;
23                 _newSegment = inNewSegment;
24         }
25 }