MMKBoundingBox

@interface MMKBoundingBox : NSObject

A rectangular box around the object.

Summary

Class methods

+ (nonnull MMKBoundingBox *)boundingBoxWithSouthWest:(nonnull MMKPoint *)southWest
                                           northEast:(nonnull MMKPoint *)northEast;

Properties

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

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

Class methods

boundingBoxWithSouthWest:northEast:

+ (nonnull MMKBoundingBox *)boundingBoxWithSouthWest:(nonnull MMKPoint *)southWest
                                           northEast:(nonnull MMKPoint *)northEast;


Properties

southWest

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

The coordinates of the southwest corner of the box.


northEast

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

The coordinates of the northeast corner of the box.