Sublocation class abstract

@ingroup navigine_dart_classes @ingroup navigine_dart_location_elements @brief Class is used for storing sublocation parameters: identifier, name, width, heigth, etc.

The list of sublocations for the current location can be obtained from @see Location "Location" class using public method getSublocations.

Referenced from @see Location "Location".

Implemented types
Implementers

Constructors

Sublocation()

Properties

altitude double?
@brief sublocation's altitude in meters if specified.
no setter
azimuth double
@brief sublocation's azimuth in degrees clockwise.
no setter
beacons List<Beacon>
@brief List of beacons, attached to this sublocation @see Beacon "Beacon".
no setter
eddystones List<Eddystone>
@brief List of eddystones, attached to this sublocation @see Eddystone "Eddystone".
no setter
externalId String
@brief sublocation's externalId.
no setter
hashCode int
The hash code for this object.
no setterinherited
height double
@brief sublocation's height in meters.
no setter
id int
@brief sublocation's identifier.
no setter
levelId String
@brief sublocation's levelId.
no setter
location int
@brief location's identifier to which the sublocation belongs.
no setter
name String
@brief sublocation's name.
no setter
originPoint GlobalPoint
@brief sublocation's center point in WGS84 coordinates @see GlobalPoint "GlobalPoint".
no setter
referencePoints List<ReferencePoint>
@cond
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
venues List<Venue>
@endcond @brief List of venues, attached to this sublocation @see Venue "Venue".
no setter
width double
@brief sublocation's width in meters.
no setter
wifis List<Wifi>
@brief List of wifis, attached to this sublocation @see Wifi "Wifi".
no setter
zones List<Zone>
@brief List of zones, attached to this sublocation @see Zone "Zone".
no setter

Methods

getGraph(String tag) Graph
@brief Method is used to obtain graph (within the current sublocation) with the specified identifier or null if no such graph. @param tag graph tag. @return found graph or null @see Graph "Graph".
getImage(int? maxTextureSize) ImageWrapper
@brief Method is used to obtain origin sublocation image with specified maxTextureSize. @param maxTextureSize maximum texure size to render. @return platform image.
getVenueById(int id) Venue
@brief Method returns the venue (within the current sublocation) with the specified identifier or null if no such venue exists. @param id venue unique identifier. @return found venue object or null @see Venue "Venue".
getZoneById(int id) Zone
@brief Method returns the zone (within the current sublocation) with the specified identifier or null if no such zone exists. @param id zone unique identifier. @return found zone object or null @see Zone "Zone".
globalToLocal(GlobalPoint globalPoint) LocationPoint
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 @param globalPoint point in WGS84 coordinates @see GlobalPoint "GlobalPoint" @return point in metrics coordinates @see LocationPoint "LocationPoint".
localToGlobal(LocationPoint localPoint) GlobalPoint
@brief Method is used for converting the local sublocation coordinates to the global geographic coordinates (latitude and longitude) using the geographic binding of the sublocation. @param localPoint point in metrics coordinates @see LocationPoint "LocationPoint" @return point in WGS84 coordinates @see GlobalPoint "GlobalPoint".
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited