Class is used for storing sublocation parameters: identifier, name, width, heigth, etc.
More...
#include <com/navigine/idl/objc/NCSublocation.h>
Inherits NSObject.
|
(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.
|
|
|
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.
◆ getGraph:
- (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.
- Parameters
-
- Returns
- found graph or
null
Graph.
◆ getImage:
- (nullable UIImage *) getImage: |
|
(nullable NSNumber *) | maxTextureSize |
|
Method is used to obtain origin sublocation image with specified maxTextureSize.
- Parameters
-
maxTextureSize | maximum texure size to render. |
- Returns
- platform image.
◆ getVenueById:
- (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.
- Parameters
-
id | venue unique identifier. |
- Returns
- found venue object or
null
Venue.
◆ getZoneById:
- (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.
- Parameters
-
id | zone unique identifier. |
- Returns
- found zone object or
null
Zone.
◆ globalToLocal:
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
- Parameters
-
- Returns
- point in metrics coordinates LocationPoint.
◆ 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.
- Parameters
-
- Returns
- point in WGS84 coordinates GlobalPoint.
◆ altitude
sublocation's altitude in meters if specified.
Definition at line 106 of file NCSublocation.h.
◆ azimuth
sublocation's azimuth in degrees clockwise.
Definition at line 111 of file NCSublocation.h.
◆ beacons
◆ eddystones
◆ externalId
◆ height
◆ id
◆ levelId
◆ location
location's identifier to which the sublocation belongs.
Definition at line 86 of file NCSublocation.h.
◆ name
◆ originPoint
◆ venues
◆ width
◆ wifis
◆ zones
The documentation for this class was generated from the following file: