SYGeoBoundingBox Class Reference

Represents a bounding box that defines a rectangular area in a geographic coordinate system. More...

#import <SYPositioning.h>

Inheritance diagram for SYGeoBoundingBox:
Collaboration diagram for SYGeoBoundingBox:

Instance Methods

(nonnull instancetype) - initWithBottomLeft:topRight:
 Initializes a SYGeoBoundingBox instance with specified top-left and bottom-right SYGeoCoordinates. More...
 
(nullable SYGeoBoundingBox *) - intersectionWithGeoBoundingBox:
 
(nullable SYGeoBoundingBox *) - unionWithGeoBoundingBox:
 
(nullable SYGeoBoundingBox *) - scale:
 
(nullable SYGeoBoundingBox *) - offsetWithGeoCoordinate:
 
(BOOL) - containsGeoCoordinate:
 
(BOOL) - containsGeoBoundingBox:
 
(instancetype) - initWithSdkBoundingBox: [implementation]
 
(Sygic::Position::GeoBoundingBox) - sdkBoundingBox [implementation]
 
(void) - fillSearchBoundary: [implementation]
 

Properties

SYGeoCoordinatebottomLeft
 The SYGeoCoordinates representing the top-left corner of the SYGeoBoundingBox. More...
 
SYGeoCoordinatetopRight
 The SYGeoCoordinates representing the bottom-right corner of the SYGeoBoundingBox. More...
 

Detailed Description

Represents a bounding box that defines a rectangular area in a geographic coordinate system.

Method Documentation

◆ containsGeoBoundingBox:()

- (BOOL) containsGeoBoundingBox: (nonnull SYGeoBoundingBox *)  boundingBox

Determines whether the specified SYGeoBoundingBox is covered entirely by this SYGeoBoundingBox.

◆ containsGeoCoordinate:()

- (BOOL) containsGeoCoordinate: (nonnull SYGeoCoordinate *)  coordinate

Determines whether the specified SYGeoCoordinate is contained within this SYGeoBoundingBox.

◆ fillSearchBoundary:()

- (void) fillSearchBoundary: (sysearch_boundary_t *)  boundary
implementation

◆ initWithBottomLeft:topRight:()

- (nonnull instancetype) initWithBottomLeft: (nonnull SYGeoCoordinate *)  bottomLeft
topRight: (nonnull SYGeoCoordinate *)  topRight 

Initializes a SYGeoBoundingBox instance with specified top-left and bottom-right SYGeoCoordinates.

◆ initWithSdkBoundingBox:()

- (instancetype) initWithSdkBoundingBox: (const Sygic::Position::GeoBoundingBox &)  box
implementation

◆ intersectionWithGeoBoundingBox:()

- (nullable SYGeoBoundingBox*) intersectionWithGeoBoundingBox: (nonnull SYGeoBoundingBox *)  boundingBox

Computes intersection of this SYGeoBoundingBox and the specified SYGeoBoundingBox. Returns nil if intersection is empty.

◆ offsetWithGeoCoordinate:()

- (nullable SYGeoBoundingBox*) offsetWithGeoCoordinate: (nonnull SYGeoCoordinate *)  coordinate

Computes offset of this SYGeoBoundingBox with the specified SYGeoCoordinate.

◆ scale:()

- (nullable SYGeoBoundingBox*) scale: (CGFloat)  scale

Computes scale of this SYGeoBoundingBox with the specified scale.

◆ sdkBoundingBox()

- Position:
implementation

◆ unionWithGeoBoundingBox:()

- (nullable SYGeoBoundingBox*) unionWithGeoBoundingBox: (nonnull SYGeoBoundingBox *)  boundingBox

Computes union of this SYGeoBoundingBox and the specified SYGeoBoundingBox.

Property Documentation

◆ bottomLeft

- (SYGeoCoordinate*) bottomLeft
readnonatomicassign

The SYGeoCoordinates representing the top-left corner of the SYGeoBoundingBox.

◆ topRight

- (SYGeoCoordinate*) topRight
readnonatomicassign

The SYGeoCoordinates representing the bottom-right corner of the SYGeoBoundingBox.


The documentation for this class was generated from the following file: