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 rectanglemaximum
The
Coordinates
object representing the maximum corner of the rectangleReturn Value
An initialized
CoordinateRectangle
object.