Ejemplo n.º 1
0
        public override bool Equals(object obj)
        {
            bool       ret = false;
            PointInt64 p   = obj as PointInt64;

            if (p != null)
            {
                ret = this.X == p.X && this.Y == p.Y;
            }

            return(ret);
        }
Ejemplo n.º 2
0
 public bool Contains(PointInt64 pt)
 {
     return(this.Contains(pt.X, pt.Y));
 }
Ejemplo n.º 3
0
 public void From(PointInt64 lefttop, long width, long height)
 {
     this.LeftTop = lefttop;
     this.Width   = width;
     this.Height  = height;
 }
Ejemplo n.º 4
0
 public RectInt64(PointInt64 lefttop, long width, long height)
 {
     From(lefttop, width, height);
 }
Ejemplo n.º 5
0
 public Tile(long x, long y, int zoom)
 {
     TileIndex = new PointInt64(x, y);
     Zoom      = zoom;
 }
Ejemplo n.º 6
0
 public Tile(PointInt64 tileIndex, int zoom)
 {
     TileIndex = tileIndex;
     Zoom      = zoom;
 }
Ejemplo n.º 7
0
 public Tile()
 {
     TileIndex = new PointInt64();
 }