Simplify analyser machines somewhat
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ import Geometry
|
||||
|
||||
gridInPolygon :: Float -> [Point2] -> [Point2]
|
||||
gridInPolygon gap ps =
|
||||
filter (`pointInPolygon` ps)
|
||||
filter (`pointInPoly` ps)
|
||||
. maybe [] (boundedGrid gap)
|
||||
. boundPoints
|
||||
$ ps
|
||||
|
||||
Reference in New Issue
Block a user