00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #pragma once
00018 #include <stdlib.h>
00019 #include <iostream>
00020 using namespace std;
00021
00022 class Point
00023 {
00024 public:
00025
00026 Point(void)
00027 {
00028 gridx=-1;
00029 gridy=-1;
00030 imgx=-1;
00031 imgy=-1;
00032 }
00033 Point(double x,double y){
00034 imgx=x;
00035 imgy=y;
00036 gridx=-1;
00037 gridy=-1;
00038 }
00039 public:
00040
00041 ~Point(void)
00042 {
00043 }
00044 double imgx;
00045 double imgy;
00046 int gridx;
00047 int gridy;
00048 void print(){cout<<"["<<gridx<<" "<<gridy<<" "<<imgx<<" "<<imgy<<"]"<<endl;}
00049 };