autocrop               package:RSurvey               R Documentation

_A_u_t_o _C_r_o_p _S_p_a_t_i_a_l _D_o_m_a_i_n

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

     Eliminate mesh cells with arc lengths greater than a user defined
     maximum.

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

     autocrop(mesh, maxLength, maxItr)

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

    mesh: an object of class 'tri'.

maxLength: the maximum arc length for a cell within the mesh.

  maxItr: the maximum number of iterations.

_V_a_l_u_e:

     A polygon of class 'gpc.poly'.

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

     Fisher, J. C.

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

     'polyAutocrop'

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

     data(tritest)
     mesh <- tri.mesh(tritest$x, tritest$y)
     plot(mesh); axis(1); axis(2); box()
     ply <- autocrop(mesh, maxLength = 0.5, maxItr = 100)
     plot(ply, add = TRUE, poly.args = list(col = 2))

