Class is used for storing sublocation parameters: identifier, name, width, heigth, etc. More...
Inherits Finalizable.
Public Member Functions | |
| LocationPoint | globalToLocal (GlobalPoint globalPoint) |
| GlobalPoint | localToGlobal (LocationPoint 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. | |
| Graph | getGraph (String tag) |
Method is used to obtain graph (within the current sublocation) with the specified identifier or null if no such graph. | |
| Venue | getVenueById (int id) |
Method returns the venue (within the current sublocation) with the specified identifier or null if no such venue exists. | |
| Zone | getZoneById (int id) |
Method returns the zone (within the current sublocation) with the specified identifier or null if no such zone exists. | |
Public Attributes | |
| int get | id |
| sublocation's identifier. | |
| int get | location |
| location's identifier to which the sublocation belongs. | |
| String get | name |
| sublocation's name. | |
| double get | width |
| sublocation's width in meters. | |
| double get | height |
| sublocation's height in meters. | |
| double get | altitude |
| sublocation's altitude in meters if specified. | |
| double get | azimuth |
| sublocation's azimuth in degrees clockwise. | |
| GlobalPoint get | originPoint |
| sublocation's center point in WGS84 coordinates GlobalPoint. | |
| String get | levelId |
| sublocation's levelId. | |
| String get | externalId |
| sublocation's externalId. | |
| List< Beacon > get | beacons |
| List of beacons, attached to this sublocation Beacon. | |
| List< Eddystone > get | eddystones |
| List of eddystones, attached to this sublocation Eddystone. | |
| List< Wifi > get | wifis |
| List of wifis, attached to this sublocation Wifi. | |
| List< Venue > get | venues |
| List of venues, attached to this sublocation Venue. | |
| List< Zone > get | 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 30 of file sublocation.dart.
| Graph Sublocation.getGraph | ( | String | 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.Dart code snippet:
| Venue Sublocation.getVenueById | ( | int | 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.Dart code snippet:
| Zone Sublocation.getZoneById | ( | int | 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.Dart code snippet:
| LocationPoint Sublocation.globalToLocal | ( | GlobalPoint | 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 |
Dart code snippet:
| GlobalPoint Sublocation.localToGlobal | ( | LocationPoint | 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 |
Dart code snippet:
| double get Sublocation.altitude |
sublocation's altitude in meters if specified.
Dart code snippet:
Definition at line 169 of file sublocation.dart.
| double get Sublocation.azimuth |
sublocation's azimuth in degrees clockwise.
Dart code snippet:
Definition at line 178 of file sublocation.dart.
| List<Beacon> get Sublocation.beacons |
List of beacons, attached to this sublocation Beacon.
Dart code snippet:
Definition at line 214 of file sublocation.dart.
| List<Eddystone> get Sublocation.eddystones |
List of eddystones, attached to this sublocation Eddystone.
Dart code snippet:
Definition at line 223 of file sublocation.dart.
| String get Sublocation.externalId |
sublocation's externalId.
Dart code snippet:
Definition at line 205 of file sublocation.dart.
| double get Sublocation.height |
sublocation's height in meters.
Dart code snippet:
Definition at line 160 of file sublocation.dart.
| int get Sublocation.id |
sublocation's identifier.
Dart code snippet:
Definition at line 124 of file sublocation.dart.
| String get Sublocation.levelId |
sublocation's levelId.
Dart code snippet:
Definition at line 196 of file sublocation.dart.
| int get Sublocation.location |
location's identifier to which the sublocation belongs.
Dart code snippet:
Definition at line 133 of file sublocation.dart.
| String get Sublocation.name |
sublocation's name.
Dart code snippet:
Definition at line 142 of file sublocation.dart.
| GlobalPoint get Sublocation.originPoint |
sublocation's center point in WGS84 coordinates GlobalPoint.
Dart code snippet:
Definition at line 187 of file sublocation.dart.
| List<Venue> get Sublocation.venues |
List of venues, attached to this sublocation Venue.
Dart code snippet:
Definition at line 246 of file sublocation.dart.
| double get Sublocation.width |
sublocation's width in meters.
Dart code snippet:
Definition at line 151 of file sublocation.dart.
| List<Wifi> get Sublocation.wifis |
List of wifis, attached to this sublocation Wifi.
Dart code snippet:
Definition at line 232 of file sublocation.dart.
| List<Zone> get Sublocation.zones |
List of zones, attached to this sublocation Zone.
Dart code snippet:
Definition at line 255 of file sublocation.dart.