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
CoordinateRectangleobject. -
An initializer with all variables.
Declaration
Swift
public init(_ minimum: Coordinates, _ maximum: Coordinates)Parameters
minimumThe
Coordinatesobject representing the minimum corner of the rectanglemaximumThe
Coordinatesobject representing the maximum corner of the rectangleReturn Value
An initialized
CoordinateRectangleobject.
CoordinateRectangle Structure Reference