Class is used for storing sublocation parameters: identifier, name, width, heigth, etc. More...
#include <com/navigine/idl/objc/NCSublocation.h>
Inherits NSObject.
Instance Methods | |
| (nullable UIImage *) | - getImage: |
| Method is used to obtain origin sublocation image with specified maxTextureSize. | |
| (nonnull NCLocationPoint *) | - globalToLocal: |
| (nonnull NCGlobalPoint *) | - localToGlobal: |
| Method is used for converting the local sublocation coordinates to the global geographic coordinates (latitude and longitude) using the geographic binding of the sublocation. | |
| (nullable NCGraph *) | - getGraph: |
Method is used to obtain graph (within the current sublocation) with the specified identifier or null if no such graph. | |
| (nullable NCVenue *) | - getVenueById: |
Method returns the venue (within the current sublocation) with the specified identifier or null if no such venue exists. | |
| (nullable NCZone *) | - getZoneById: |
Method returns the zone (within the current sublocation) with the specified identifier or null if no such zone exists. | |
Properties | |
| int32_t | id |
| sublocation's identifier. | |
| int32_t | location |
| location's identifier to which the sublocation belongs. | |
| NSString * | name |
| sublocation's name. | |
| float | width |
| sublocation's width in meters. | |
| float | height |
| sublocation's height in meters. | |
| NSNumber * | altitude |
| sublocation's altitude in meters if specified. | |
| float | azimuth |
| sublocation's azimuth in degrees clockwise. | |
| NCGlobalPoint * | originPoint |
| sublocation's center point in WGS84 coordinates GlobalPoint. | |
| NSString * | levelId |
| sublocation's levelId. | |
| NSString * | externalId |
| sublocation's externalId. | |
| NSArray< NCBeacon * > * | beacons |
| List of beacons, attached to this sublocation Beacon. | |
| NSArray< NCEddystone * > * | eddystones |
| List of eddystones, attached to this sublocation Eddystone. | |
| NSArray< NCWifi * > * | wifis |
| List of wifis, attached to this sublocation Wifi. | |
| NSArray< NCVenue * > * | venues |
| List of venues, attached to this sublocation Venue. | |
| NSArray< NCZone * > * | zones |
| List of zones, attached to this sublocation Zone. | |
Class is used for storing sublocation parameters: identifier, name, width, heigth, etc.
The list of sublocations for the current location can be obtained from Location class using public method getSublocations.
Referenced from Location.
Definition at line 29 of file NCSublocation.h.
| - (nullable NCGraph *) getGraph: | (nonnull NSString *) | tag |
Method is used to obtain graph (within the current sublocation) with the specified identifier or null if no such graph.
| tag | graph tag. |
null Graph.Swift code snippet:
Objective C code snippet:
| - (nullable UIImage *) getImage: | (nullable NSNumber *) | maxTextureSize |
Method is used to obtain origin sublocation image with specified maxTextureSize.
| maxTextureSize | maximum texure size to render. |
Swift code snippet:
Objective C code snippet:
| - (nullable NCVenue *) getVenueById: | (int32_t) | id |
Method returns the venue (within the current sublocation) with the specified identifier or null if no such venue exists.
| id | venue unique identifier. |
null Venue.Swift code snippet:
Objective C code snippet:
| - (nullable NCZone *) getZoneById: | (int32_t) | id |
Method returns the zone (within the current sublocation) with the specified identifier or null if no such zone exists.
| id | zone unique identifier. |
null Zone.Swift code snippet:
Objective C code snippet:
| - (nonnull NCLocationPoint *) globalToLocal: | (nonnull NCGlobalPoint *) | globalPoint |
Method is used for converting the global geographic coordinates (latitude and longitude) to the local sublocation coordinates (x and y) using the geographic binding of the sublocation
| globalPoint | point in WGS84 coordinates GlobalPoint |
Swift code snippet:
Objective C code snippet:
| - (nonnull NCGlobalPoint *) localToGlobal: | (nonnull NCLocationPoint *) | localPoint |
Method is used for converting the local sublocation coordinates to the global geographic coordinates (latitude and longitude) using the geographic binding of the sublocation.
| localPoint | point in metrics coordinates LocationPoint |
Swift code snippet:
Objective C code snippet:
|
readnonatomicassign |
sublocation's altitude in meters if specified.
Swift code snippet:
Objective C code snippet:
Definition at line 209 of file NCSublocation.h.
|
readnonatomicassign |
sublocation's azimuth in degrees clockwise.
Swift code snippet:
Objective C code snippet:
Definition at line 222 of file NCSublocation.h.
|
readnonatomicassign |
List of beacons, attached to this sublocation Beacon.
Swift code snippet:
Objective C code snippet:
Definition at line 274 of file NCSublocation.h.
|
readnonatomicassign |
List of eddystones, attached to this sublocation Eddystone.
Swift code snippet:
Objective C code snippet:
Definition at line 287 of file NCSublocation.h.
|
readnonatomicassign |
sublocation's externalId.
Swift code snippet:
Objective C code snippet:
Definition at line 261 of file NCSublocation.h.
|
readnonatomicassign |
sublocation's height in meters.
Swift code snippet:
Objective C code snippet:
Definition at line 196 of file NCSublocation.h.
|
readnonatomicassign |
sublocation's identifier.
Swift code snippet:
Objective C code snippet:
Definition at line 144 of file NCSublocation.h.
|
readnonatomicassign |
sublocation's levelId.
Swift code snippet:
Objective C code snippet:
Definition at line 248 of file NCSublocation.h.
|
readnonatomicassign |
location's identifier to which the sublocation belongs.
Swift code snippet:
Objective C code snippet:
Definition at line 157 of file NCSublocation.h.
|
readnonatomicassign |
sublocation's name.
Swift code snippet:
Objective C code snippet:
Definition at line 170 of file NCSublocation.h.
|
readnonatomicassign |
sublocation's center point in WGS84 coordinates GlobalPoint.
Swift code snippet:
Objective C code snippet:
Definition at line 235 of file NCSublocation.h.
|
readnonatomicassign |
List of venues, attached to this sublocation Venue.
Swift code snippet:
Objective C code snippet:
Definition at line 319 of file NCSublocation.h.
|
readnonatomicassign |
sublocation's width in meters.
Swift code snippet:
Objective C code snippet:
Definition at line 183 of file NCSublocation.h.
|
readnonatomicassign |
List of wifis, attached to this sublocation Wifi.
Swift code snippet:
Objective C code snippet:
Definition at line 300 of file NCSublocation.h.
|
readnonatomicassign |
List of zones, attached to this sublocation Zone.
Swift code snippet:
Objective C code snippet:
Definition at line 332 of file NCSublocation.h.