00001 using System;
00002 using System.Collections.Generic;
00003 using System.Text;
00004
00005 namespace Triangulator.Geometry
00006 {
00007
00008
00009
00010
00011 public class Point
00012 {
00013
00014
00015
00016 protected double _X;
00017
00018
00019
00020 protected double _Y;
00021
00022
00023
00024
00025
00026
00027 public Point(double x, double y)
00028 {
00029 _X = x;
00030 _Y = y;
00031 }
00032
00033
00034
00035
00036 public double X
00037 {
00038 get { return _X; }
00039 set { _X = value; }
00040 }
00041
00042
00043
00044
00045 public double Y
00046 {
00047 get { return _Y; }
00048 set { _Y = value; }
00049 }
00050
00051
00052
00053
00054
00055
00056 public bool Equals2D(Point other)
00057 {
00058 return (X == other.X && Y == other.Y);
00059 }
00060 }
00061 }