GridTopology-class            package:sp            R Documentation

_C_l_a_s_s "_G_r_i_d_T_o_p_o_l_o_g_y" ~~~

_D_e_s_c_r_i_p_t_i_o_n:

     class for defining a rectangular grid of arbitrary dimension

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     Objects are created by using e.g. 

     GridTopology(c(0,0), c(1,1), c(5,5))

     see SpatialGrid

_S_l_o_t_s:

     '_c_e_l_l_c_e_n_t_r_e._o_f_f_s_e_t': numeric; vector with the smallest coordinates
          for each dimension; coordinates refer to the cell centre 

     '_c_e_l_l_s_i_z_e': numeric; vector with the cell size in each dimension

     '_c_e_l_l_s._d_i_m': integer; vector with number of cells in each
          dimension

     '_b_b_o_x': Object of class '"matrix"'; bounding box 

     '_p_r_o_j_4_s_t_r_i_n_g': Object of class '"CRS"'; projection  

_E_x_t_e_n_d_s:

_M_e_t_h_o_d_s:

     _c_o_o_r_d_i_n_a_t_e_s 'signature(x = "SpatialGrid")': calculates coordinates
          for each point on the grid

_N_o_t_e:

_A_u_t_h_o_r(_s):

     Edzer J. Pebesma, e.pebesma@geo.uu.nl

_R_e_f_e_r_e_n_c_e_s:

_S_e_e _A_l_s_o:

     'SpatialGridDataFrame-class', 'SpatialGrid-class'

_E_x_a_m_p_l_e_s:

     x = GridTopology(c(0,0), c(1,1), c(5,5))
     class(x)
     x
     summary(x)
     coordinates(x)
     y = SpatialGrid(grid = x)
     class(y)
     y

