1 |
package dk.daoas.fulddaekning; |
package dk.daoas.fulddaekning; |
2 |
|
|
3 |
import geocode.GeoPoint; |
import com.jwetherell.algorithms.data_structures.KdTree; |
4 |
|
|
5 |
public class Adresse extends GeoPoint { |
public class Adresse extends KdTree.XYZPoint { |
6 |
public int id; |
public int id; |
7 |
public short postnr; |
public short postnr; |
8 |
public String adresse; |
public String adresse; |
12 |
public String rute; |
public String rute; |
13 |
public short ho; |
public short ho; |
14 |
|
|
15 |
|
public double latitude; |
16 |
|
public double longitude; |
17 |
|
|
18 |
public Adresse(Double latitude, Double longitude) { |
public Adresse(Double latitude, Double longitude) { |
19 |
super(latitude, longitude); |
super(latitude, longitude); |
20 |
|
|
21 |
|
this.latitude = latitude; |
22 |
|
this.longitude = longitude; |
23 |
} |
} |
24 |
|
|
25 |
|
|