YMKBoundingBox

@interface YMKBoundingBox : NSObject

A rectangular box around the object.

Summary

Class methods

+ (nonnull YMKBoundingBox *)boundingBoxWithSouthWest:(nonnull YMKPoint *)southWest
                                           northEast:(nonnull YMKPoint *)northEast;

Properties

@property (nonatomic, readonly, nonnull) YMKPoint *southWest;
The coordinates of the southwest corner of the box

@property (nonatomic, readonly, nonnull) YMKPoint *northEast;
The coordinates of the northeast corner of the box

Class methods

boundingBoxWithSouthWest:northEast:

+ (nonnull YMKBoundingBox *)boundingBoxWithSouthWest:(nonnull YMKPoint *)southWest
                                           northEast:(nonnull YMKPoint *)northEast;


Properties

southWest

@property (nonatomic, readonly, nonnull) YMKPoint *southWest;

The coordinates of the southwest corner of the box.


northEast

@property (nonatomic, readonly, nonnull) YMKPoint *northEast;

The coordinates of the northeast corner of the box.