NMSCoordinateBounds Class Reference

Rectangular bounding box on the Earth's surface. More...

#import <NMSCoordinateBounds.h>

Inheritance diagram for NMSCoordinateBounds:

Instance Methods

(id) - initWithCoordinate:coordinate:
 Inits the northEast and southWest bounds corresponding to the rectangular region defined by the two corners. More...
 
(id) - initWithPath:
 Inits the northEast and southWest bounds that encompass path. More...
 
(NMSCoordinateBounds *) - includingCoordinate:
 Returns a NMSCoordinateBounds representing the current bounds extended to include the passed-in coordinate. More...
 
(NMSCoordinateBounds *) - includingBounds:
 Returns a NMSCoordinateBounds representing the current bounds extended to include the entire other bounds. More...
 
(BOOL) - containsCoordinate:
 Returns YES if coordinate is contained within this bounds. More...
 
(BOOL) - intersectsBounds:
 Returns YES if other bounds overlaps with this bounds. More...
 
(BOOL) - isEqualToBounds:
 Returns YES if other bounds is equal to this bounds. More...
 

Properties

CLLocationCoordinate2D northEast
 The North-East corner of these bounds. More...
 
CLLocationCoordinate2D southWest
 The South-West corner of these bounds. More...
 
BOOL valid
 Returns NO if this bounds does not contain any points. More...
 

Detailed Description

Rectangular bounding box on the Earth's surface.

Definition at line 14 of file NMSCoordinateBounds.h.

Method Documentation

◆ containsCoordinate:()

- (BOOL) containsCoordinate: (CLLocationCoordinate2D)  coordinate

Returns YES if coordinate is contained within this bounds.

Parameters
coordinateThe coordinate.
Returns
YES if coordinate is contained within this bounds.

◆ includingBounds:()

- (NMSCoordinateBounds *) includingBounds: (NMSCoordinateBounds *)  bounds

Returns a NMSCoordinateBounds representing the current bounds extended to include the entire other bounds.

Parameters
boundsThe bounds to include.
Returns
the NMSCoordinateBounds object

◆ includingCoordinate:()

- (NMSCoordinateBounds *) includingCoordinate: (CLLocationCoordinate2D)  coordinate

Returns a NMSCoordinateBounds representing the current bounds extended to include the passed-in coordinate.

Parameters
coordinateThe coordinate to include.
Returns
the NMSCoordinateBounds object

◆ initWithCoordinate:coordinate:()

- (id) initWithCoordinate: (CLLocationCoordinate2D)  firstCoordinate
coordinate: (CLLocationCoordinate2D)  secondCoordinate 

Inits the northEast and southWest bounds corresponding to the rectangular region defined by the two corners.

Parameters
firstCoordinateA corner coordinate.
secondCoordinateA corner coordinate.
Returns
the NMSCoordinateBounds object

◆ initWithPath:()

- (id) initWithPath: (NMSPath *)  path

Inits the northEast and southWest bounds that encompass path.

Parameters
pathThe path to contain.
Returns
the NMSCoordinateBounds object

◆ intersectsBounds:()

- (BOOL) intersectsBounds: (NMSCoordinateBounds *)  bounds

Returns YES if other bounds overlaps with this bounds.

Parameters
boundsThe bounds.
Returns
YES if bounds overlaps with this bounds.

◆ isEqualToBounds:()

- (BOOL) isEqualToBounds: (NMSCoordinateBounds *)  bounds

Returns YES if other bounds is equal to this bounds.

Parameters
boundsThe bounds.
Returns
YES if bounds is equal to this bounds.

Property Documentation

◆ northEast

- (CLLocationCoordinate2D) northEast
readnonatomicassign

The North-East corner of these bounds.

Definition at line 67 of file NMSCoordinateBounds.h.

◆ southWest

- (CLLocationCoordinate2D) southWest
readnonatomicassign

The South-West corner of these bounds.

Definition at line 70 of file NMSCoordinateBounds.h.

◆ valid

- (BOOL) valid
readnonatomicassign

Returns NO if this bounds does not contain any points.

Definition at line 73 of file NMSCoordinateBounds.h.


The documentation for this class was generated from the following file:
  • /Users/jenkins/workspace/mobilesdk-ios/iOS/Deployment/NavionicsMobileSDK.framework/Headers/NMSCoordinateBounds.h