This function checks the internal consistency and structure of an object of
class "sl_stand", as returned by create_sl_stand. It verifies that
all required components are present and correctly formatted, that the
embedded tree inventory conforms to the rules enforced by
check_inventory, and that all trees and sensors are within the stand limits.
Details
The following validations are performed:
The object inherits from class
"sl_stand".The top-level components
trees,sensors,cells,core_polygon,transform,geometryandinventoryare present.The
treesdata.frame passes check_inventory.The
sensorsdata.frame passes check_sensors.The
cellsdata.frame contains columnsx_center,y_center,z_center, andid_cell.The
geometrylist containscell_size,n_cells_x,n_cells_y,slope,aspect, andnorth2x.All trees and sensors lie within the bounds of the rectangular stand.