test.py 427 B

1234567891011121314
  1. import sys
  2. sys.path.append("../../..")
  3. from relations.src.space_relation import space_datautils, calc_spaceadjoinrelation
  4. if __name__=='__main__':
  5. floor_id=''
  6. object_type=''
  7. floor_id2 = ''
  8. spaces=space_datautils.get_space_data(floor_id,object_type)
  9. spaces2 = space_datautils.get_space_data(floor_id2, object_type)
  10. calc_spaceadjoinrelation.calc_plane(spaces)
  11. calc_spaceadjoinrelation.calc_verticalface(spaces,spaces2)