Last change
on this file since 10884 was
8516,
checked in by spimming, 12 years ago
|
#1894:
- solution restructured
- removed obsolete and outdated parts
|
File size:
633 bytes
|
Line | |
---|
1 |
|
---|
2 | using HeuristicLab.Problems.RoutePlanning.Utilities;
|
---|
3 | namespace HeuristicLab.Problems.RoutePlanning.Data.Osm.Core {
|
---|
4 | public class Node : OsmBase {
|
---|
5 | private PointD point;
|
---|
6 |
|
---|
7 | public double Longitude {
|
---|
8 | get { return point.X; }
|
---|
9 | set { point.X = value; }
|
---|
10 | }
|
---|
11 | public double Latitude {
|
---|
12 | get { return point.Y; }
|
---|
13 | set { point.Y = value; }
|
---|
14 | }
|
---|
15 |
|
---|
16 | public PointD Point {
|
---|
17 | get { return point; }
|
---|
18 | }
|
---|
19 |
|
---|
20 | public Node() {
|
---|
21 | point = new PointD();
|
---|
22 | }
|
---|
23 |
|
---|
24 | public Node(long id, double lat, double lon)
|
---|
25 | : base(id) {
|
---|
26 | point = new PointD(lat, lon);
|
---|
27 | }
|
---|
28 | }
|
---|
29 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.