CoordinateRectangle

public struct CoordinateRectangle : Codable

A rectangle bounded by coordinates

  • The minimum coordinates for the rectangle

    Declaration

    Swift

    public var minimum: Coordinates
  • The maximum coordinates for the rectangle

    Declaration

    Swift

    public var maximum: Coordinates
  • Default initializer

    Declaration

    Swift

    public init()

    Return Value

    An initialized CoordinateRectangle object.

  • An initializer with all variables.

    Declaration

    Swift

    public init(_ minimum: Coordinates, _ maximum: Coordinates)

    Parameters

    minimum

    The Coordinates object representing the minimum corner of the rectangle

    maximum

    The Coordinates object representing the maximum corner of the rectangle

    Return Value

    An initialized CoordinateRectangle object.