00001 using System;
00002 using System.Collections.Generic;
00003 using System.Linq;
00004 using System.Text;
00005
00006 namespace UtmConvert {
00007 public class Point {
00008 double _x = 0;
00009 public double X {
00010 get { return _x; }
00011 set { _x = value; }
00012 }
00013
00014 double _y = 0;
00015 public double Y {
00016 get { return _y; }
00017 set { _y = value; }
00018 }
00019
00020
00021 public Point() { }
00022
00023
00024 public Point(double x, double y) {
00025 _x = x;
00026 _y = y;
00027 }
00028
00029
00030 public Point(int x, int y) {
00031 _x = (double)x;
00032 _y = (double)y;
00033 }
00034
00035
00036 public Point(float x, float y) {
00037 _x = (double)x;
00038 _y = (double)y;
00039 }
00040
00041
00042 public Point(string x, string y) {
00043 double.TryParse(x, out _x);
00044 double.TryParse(y, out _y);
00045 }
00046 }
00047 }