CombineCropRowsFromConnections¶
Qualified name: crop_row_connector.combine_crop_rows_from_connections.CombineCropRowsFromConnections
- class CombineCropRowsFromConnections[source]¶
Bases:
objectCombine crop rows from connections.
Methods
Add connection between rows.
Add the unused rows to the connected crop rows.
Check for duplicates in the connected crop rows.
Connect a crop row to an existing crop row.
Connect the crop rows of 2 tiles based on the connections.
Connect two existing full crop rows.
Move rows together and adjust the indexes of all rows with a larger index.
Sort the connected crop rows based on the tile number and then the row number.
- connect_crop_row_to_existing_crop_row(new_tile_number, new_row, existing_tile_number, existing_row, index)[source]¶
Connect a crop row to an existing crop row.
- connect_crop_rows_of_2_tiles(tile_1_number, tile_2_number, connections)[source]¶
Connect the crop rows of 2 tiles based on the connections. The rows are connected to existing rows if any, otherwise new rows are added.
- connect_two_existing_full_crop_rows(index_row_1, tile_number_1, row_1, index_row_2, tile_number_2, row_2)[source]¶
Connect two existing full crop rows.