File: JsonPoint.java

package info (click to toggle)
gpsprune 26.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,824 kB
  • sloc: java: 52,154; sh: 25; makefile: 21; python: 15
file content (25 lines) | stat: -rw-r--r-- 592 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package tim.prune.load.json;

/**
 * Structure for holding a single point extracted from the Json
 */
public class JsonPoint
{
	public final String _latitude, _longitude, _altitude;
	public final boolean _newSegment;

	/**
	 * Constructor
	 * @param inLat latitude string
	 * @param inLon longitude string
	 * @param inAlt altitude string
	 * @param inNewSegment true if this point starts a new segment
	 */
	public JsonPoint(String inLat, String inLon, String inAlt, boolean inNewSegment)
	{
		_latitude = inLat;
		_longitude = inLon;
		_altitude = inAlt;
		_newSegment = inNewSegment;
	}
}