ManhattenGridFilter
public struct ManhattenGridFilter : GridFilter, DefaultInitializable
Filters a grid to only allow the cardinal dimensions.
-
Creates a ManhattenGridFilter
Declaration
Swift
public init()
-
Returns
true
iffvertex
should be considered part of the grid.Declaration
Swift
public func isPartOfGrid(_ vertex: Point2) -> Bool
-
Returns
true
iffedge
should be considered part of the grid.Declaration
Swift
public func isPartOfGrid(_ edge: GridEdge) -> Bool