Added tests for ShapeArray. CURA-3239

This commit is contained in:
Jack Ha 2017-04-03 17:03:30 +02:00
parent d1b9078657
commit 1ebf947ff2
3 changed files with 76 additions and 4 deletions

View file

@ -73,7 +73,7 @@ class ShapeArray:
return base_array
## Return indices that mark one side of the line, used by array_from_polygon
## Return indices that mark one side of the line, used by arrayFromPolygon
# Uses the line defined by p1 and p2 to check array of
# input indices against interpolated value
# Returns boolean array, with True inside and False outside of shape