AreaConstraints

public struct AreaConstraints : Codable

Represents the coordinates and radius of a specific point.

  • Coordinates of a specific point

    Declaration

    Swift

    public var coordinates: Coordinates
  • Radius around the coordinate (in miles)

    Declaration

    Swift

    public var radiusInMiles: Int
  • Default initializer.

    Declaration

    Swift

    public init()

    Return Value

    An initialized AreaConstraints object

  • Initializer with all parameters.

    Declaration

    Swift

    public init(_ coordinates: Coordinates, _ radius: Int)

    Parameters

    coordinates

    A Coordinates object representing the coordinate point

    radius

    The radius on miles from the coordinate.

    Return Value

    An initialized AreaConstraints object