aRTlayer-getRelation           package:aRT           R Documentation

_S_p_a_t_i_a_l _R_e_l_a_t_i_o_n_s

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

     Returns elements of a given layer that satisfy a given spatial
     relation. The spatial relation can refer to objects of a different
     layer.

_U_s_a_g_e:

     ## S4 method for signature 'aRTlayer':
     getRelation(object, relation=c("contains", "overlaps", "crosses", "disjoint", "touches", "within", "intersects", "equals", "covers", "coveredby"), layer=object, ID)

_A_r_g_u_m_e_n_t_s:

  object: The target layer.

relation: One of "contains", "coveredby", "covers", "crosses",
          "disjoint", "equals", "intersects", "overlaps", "touches", or
          "within"

   layer: The layer over which the spatial relations will be computed.

      ID: The selected ids of layer to be used. If 'NULL', all the
          elements of layer will be used.

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

     Pedro Ribeiro de Andrade

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

     See 'aRTlayer-class' to the description of this class.

