RectangularBoundedGrid
extension RectangularBoundedGrid
extension RectangularBoundedGrid: VertexListGraph
-
Allows all points whose x and y coordinates fall within the specified ranges.
Declaration
Swift
public init(x: ClosedRange<Int>, y: ClosedRange<Int>)
-
A collection of the graph’s vertices.
See moreDeclaration
Swift
public struct VertexCollection : RandomAccessCollection
-
Declaration
Swift
public var vertices: VertexCollection { get }