Represents a bounding box that defines a rectangular area in a geographic coordinate system. More...
#import <SYPositioning.h>


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 | |
| SYGeoCoordinate * | bottomLeft |
| The SYGeoCoordinates representing the top-left corner of the SYGeoBoundingBox. More... | |
| SYGeoCoordinate * | topRight |
| The SYGeoCoordinates representing the bottom-right corner of the SYGeoBoundingBox. More... | |
Represents a bounding box that defines a rectangular area in a geographic coordinate system.
| - (BOOL) containsGeoBoundingBox: | (nonnull SYGeoBoundingBox *) | boundingBox |
Determines whether the specified SYGeoBoundingBox is covered entirely by this SYGeoBoundingBox.
| - (BOOL) containsGeoCoordinate: | (nonnull SYGeoCoordinate *) | coordinate |
Determines whether the specified SYGeoCoordinate is contained within this SYGeoBoundingBox.
|
implementation |
| - (nonnull instancetype) initWithBottomLeft: | (nonnull SYGeoCoordinate *) | bottomLeft | |
| topRight: | (nonnull SYGeoCoordinate *) | topRight | |
Initializes a SYGeoBoundingBox instance with specified top-left and bottom-right SYGeoCoordinates.
|
implementation |
| - (nullable SYGeoBoundingBox*) intersectionWithGeoBoundingBox: | (nonnull SYGeoBoundingBox *) | boundingBox |
Computes intersection of this SYGeoBoundingBox and the specified SYGeoBoundingBox. Returns nil if intersection is empty.
| - (nullable SYGeoBoundingBox*) offsetWithGeoCoordinate: | (nonnull SYGeoCoordinate *) | coordinate |
Computes offset of this SYGeoBoundingBox with the specified SYGeoCoordinate.
| - (nullable SYGeoBoundingBox*) scale: | (CGFloat) | scale |
Computes scale of this SYGeoBoundingBox with the specified scale.
|
implementation |
| - (nullable SYGeoBoundingBox*) unionWithGeoBoundingBox: | (nonnull SYGeoBoundingBox *) | boundingBox |
Computes union of this SYGeoBoundingBox and the specified SYGeoBoundingBox.
|
readnonatomicassign |
The SYGeoCoordinates representing the top-left corner of the SYGeoBoundingBox.
|
readnonatomicassign |
The SYGeoCoordinates representing the bottom-right corner of the SYGeoBoundingBox.