Marthee commited on
Commit
d42c9df
·
verified ·
1 Parent(s): b942802

Update Code_2_7.py

Browse files
Files changed (1) hide show
  1. Code_2_7.py +2 -2
Code_2_7.py CHANGED
@@ -1203,7 +1203,7 @@ def get_hatched_areas(datadoc,filename,FinalRatio,rotationangle,SearchArray,Coll
1203
 
1204
 
1205
 
1206
- if (poly.area > 0 and (height > 0.2 or width > 0.2)):
1207
 
1208
  length = height
1209
  if(width > length):
@@ -1264,7 +1264,7 @@ def get_hatched_areas(datadoc,filename,FinalRatio,rotationangle,SearchArray,Coll
1264
  width = maxx - minx
1265
  height = maxy - miny
1266
 
1267
- if (poly.area > 0 and (height > 0.2 or width > 0.2)):
1268
 
1269
  length = height
1270
  if(width > length):
 
1203
 
1204
 
1205
 
1206
+ if (poly.area > 0 and (height > 0 or width > 0)):
1207
 
1208
  length = height
1209
  if(width > length):
 
1264
  width = maxx - minx
1265
  height = maxy - miny
1266
 
1267
+ if (poly.area > 0 and (height > 0 or width > 0)):
1268
 
1269
  length = height
1270
  if(width > length):