Class
GridZone
public class GridZone
- Grid Zone
Initializers
init(_:_:)
public init(_ strip: LongitudinalStrip, _ band: LatitudeBand)
- Constructor
- @param strip
-
longitudinal strip
- @param band
-
latitude band
Properties
Methods
isWithin(_:)
public func isWithin(_ bounds: Bounds) -> Bool
- Is the provided bounds within the zone bounds
- @param bounds
-
bounds
- @return true if within bounds
stripExpand()
public func stripExpand() -> Int
- Get the longitudinal strip expansion, number of additional neighbors to
- iterate over in combination with this strip
- @return longitudinal strip neighbor iteration expansion
lines(_:)
- Get the grid zone lines
- @param gridType
-
grid type
- @return lines
lines(_:_:)
- Get the grid zone lines
- @param tileBounds
-
tile bounds
- @param gridType
-
grid type
- @return lines
drawBounds(_:_:)
- Get the draw bounds of easting and northing in meters
- @param tileBounds
-
tile bounds
- @param gridType
-
grid type
- @return draw bounds or null