00001 using System;
00002 using System.Collections.Generic;
00003 using System.Linq;
00004 using System.Text;
00005 using System.ComponentModel;
00006
00007 namespace UtmConvert {
00008 public class UtmPoint {
00009 Point _point;
00010
00011
00012 [CategoryAttribute("UTM Settings")
00013 , DescriptionAttribute("2D point in space")]
00014 public Point Point {
00015 get { return _point; }
00016 set { _point = value; }
00017 }
00018
00019 string _zone = "T10";
00020
00021
00022 [CategoryAttribute("UTM Settings")
00023 , DescriptionAttribute("UTM zone, T10 for the northwest")]
00024 public string Zone {
00025 get { return _zone; }
00026 set { _zone = value; }
00027 }
00028
00029 string _note = "cone";
00030
00031
00032 [CategoryAttribute("Waypoint Settings")
00033 , DescriptionAttribute("either cone or dummy")]
00034 public string Note {
00035 get { return _note; }
00036 set { _note = value; }
00037 }
00038
00039 string _handle = "";
00040
00041
00042 [CategoryAttribute("Waypoint Settings")
00043 , DescriptionAttribute("a string handle, unique identifier")]
00044 public string Handle {
00045 get { return _handle; }
00046 set { _handle = value; }
00047 }
00048
00049 public UtmPoint() {
00050 _point = new Point();
00051 }
00052
00053 public UtmPoint(Point point, string zone, string note, string handle) {
00054 _point = new Point();
00055 _point = point;
00056 _zone = zone;
00057 _note = note;
00058 _handle = handle;
00059 }
00060 }
00061 }