naval intercept operation; package refactoring

This commit is contained in:
Vasyl Horbachenko
2018-06-18 23:57:02 +03:00
parent 3e2f3c6f89
commit e2dbaa100f
33 changed files with 974 additions and 602 deletions

View File

@@ -2,8 +2,11 @@ import pickle
def load_poly(filename: str):
with open(filename, "rb") as f:
return pickle.load(f)
try:
with open(filename, "rb") as f:
return pickle.load(f)
except:
return None
def ray_tracing(x, y, poly):