validate_fe_ccircle_spatial: Validate an fe_ccircle_spatial Object
Description
Regular users will not require this function. Expert users will want to use
it in combination with the constructor new_fe_ccircle_spatial.
Regular users, please construct fe_ccircle_spatial objects with
fe_ccircle_spatial.
Returns x, but this function is mainly called for its side
effect which is pointing out any violations of the fe_ccircle_spatial
object specifications. In case of such violations, the function will
terminate with an error.
Arguments
x
An object that is expected to be a correct fe_ccircle_spatial
object
method
Character string that specifies whether tree_positions is
allowed to contain less tree_ids than trees (i.e. in this case, not all
trees have coordinates). Possible choices are "strict" (default) and
"flexible". If method == "flexible", a warning is issued if not all trees
have coordinates. If method == "strict", the validation terminates with an
error.