Loading...
Searching...
No Matches
com.navigine.idl.java.Sublocation Class Referenceabstract

Class is used for storing sublocation parameters: identifier, name, width, heigth, etc. More...

Public Member Functions

abstract android.graphics.Bitmap getImage (Integer maxTextureSize)
 Method is used to obtain origin sublocation image with specified maxTextureSize.
 
abstract LocationPoint globalToLocal (GlobalPoint globalPoint)
 
abstract 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.
 
abstract Graph getGraph (String tag)
 Method is used to obtain graph (within the current sublocation) with the specified identifier or null if no such graph.
 
abstract Venue getVenueById (int id)
 Method returns the venue (within the current sublocation) with the specified identifier or null if no such venue exists.
 
abstract Zone getZoneById (int id)
 Method returns the zone (within the current sublocation) with the specified identifier or null if no such zone exists.
 
abstract int getId ()
 sublocation's identifier.
 
abstract int getLocation ()
 location's identifier to which the sublocation belongs.
 
abstract String getName ()
 sublocation's name.
 
abstract float getWidth ()
 sublocation's width in meters.
 
abstract float getHeight ()
 sublocation's height in meters.
 
abstract Float getAltitude ()
 sublocation's altitude in meters if specified.
 
abstract float getAzimuth ()
 sublocation's azimuth in degrees clockwise.
 
abstract GlobalPoint getOriginPoint ()
 sublocation's center point in WGS84 coordinates GlobalPoint.
 
abstract String getLevelId ()
 sublocation's levelId.
 
abstract String getExternalId ()
 sublocation's externalId.
 
abstract ArrayList< BeacongetBeacons ()
 List of beacons, attached to this sublocation Beacon.
 
abstract ArrayList< EddystonegetEddystones ()
 List of eddystones, attached to this sublocation Eddystone.
 
abstract ArrayList< WifigetWifis ()
 List of wifis, attached to this sublocation Wifi.
 
abstract ArrayList< VenuegetVenues ()
 List of venues, attached to this sublocation Venue.
 
abstract ArrayList< ZonegetZones ()
 List of zones, attached to this sublocation Zone.
 

Detailed Description

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 19 of file Sublocation.java.

Member Function Documentation

◆ getAltitude()

abstract Float com.navigine.idl.java.Sublocation.getAltitude ( )
abstract

sublocation's altitude in meters if specified.

Returns

◆ getAzimuth()

abstract float com.navigine.idl.java.Sublocation.getAzimuth ( )
abstract

sublocation's azimuth in degrees clockwise.

Returns

◆ getBeacons()

abstract ArrayList< Beacon > com.navigine.idl.java.Sublocation.getBeacons ( )
abstract

List of beacons, attached to this sublocation Beacon.

Returns

◆ getEddystones()

abstract ArrayList< Eddystone > com.navigine.idl.java.Sublocation.getEddystones ( )
abstract

List of eddystones, attached to this sublocation Eddystone.

Returns

◆ getExternalId()

abstract String com.navigine.idl.java.Sublocation.getExternalId ( )
abstract

sublocation's externalId.

Returns

◆ getGraph()

abstract Graph com.navigine.idl.java.Sublocation.getGraph ( String tag)
abstract

Method is used to obtain graph (within the current sublocation) with the specified identifier or null if no such graph.

Parameters
taggraph tag.
Returns
found graph or null Graph.

◆ getHeight()

abstract float com.navigine.idl.java.Sublocation.getHeight ( )
abstract

sublocation's height in meters.

Returns

◆ getId()

abstract int com.navigine.idl.java.Sublocation.getId ( )
abstract

sublocation's identifier.

Returns

◆ getImage()

abstract android.graphics.Bitmap com.navigine.idl.java.Sublocation.getImage ( Integer maxTextureSize)
abstract

Method is used to obtain origin sublocation image with specified maxTextureSize.

Parameters
maxTextureSizemaximum texure size to render.
Returns
platform image.

◆ getLevelId()

abstract String com.navigine.idl.java.Sublocation.getLevelId ( )
abstract

sublocation's levelId.

Returns

◆ getLocation()

abstract int com.navigine.idl.java.Sublocation.getLocation ( )
abstract

location's identifier to which the sublocation belongs.

Returns

◆ getName()

abstract String com.navigine.idl.java.Sublocation.getName ( )
abstract

sublocation's name.

Returns

◆ getOriginPoint()

abstract GlobalPoint com.navigine.idl.java.Sublocation.getOriginPoint ( )
abstract

sublocation's center point in WGS84 coordinates GlobalPoint.

Returns

◆ getVenueById()

abstract Venue com.navigine.idl.java.Sublocation.getVenueById ( int id)
abstract

Method returns the venue (within the current sublocation) with the specified identifier or null if no such venue exists.

Parameters
idvenue unique identifier.
Returns
found venue object or null Venue.

◆ getVenues()

abstract ArrayList< Venue > com.navigine.idl.java.Sublocation.getVenues ( )
abstract

List of venues, attached to this sublocation Venue.

Returns

◆ getWidth()

abstract float com.navigine.idl.java.Sublocation.getWidth ( )
abstract

sublocation's width in meters.

Returns

◆ getWifis()

abstract ArrayList< Wifi > com.navigine.idl.java.Sublocation.getWifis ( )
abstract

List of wifis, attached to this sublocation Wifi.

Returns

◆ getZoneById()

abstract Zone com.navigine.idl.java.Sublocation.getZoneById ( int id)
abstract

Method returns the zone (within the current sublocation) with the specified identifier or null if no such zone exists.

Parameters
idzone unique identifier.
Returns
found zone object or null Zone.

◆ getZones()

abstract ArrayList< Zone > com.navigine.idl.java.Sublocation.getZones ( )
abstract

List of zones, attached to this sublocation Zone.

Returns

◆ globalToLocal()

abstract LocationPoint com.navigine.idl.java.Sublocation.globalToLocal ( GlobalPoint globalPoint)
abstract

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
globalPointpoint in WGS84 coordinates GlobalPoint
Returns
point in metrics coordinates LocationPoint.

◆ localToGlobal()

abstract GlobalPoint com.navigine.idl.java.Sublocation.localToGlobal ( LocationPoint localPoint)
abstract

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
localPointpoint in metrics coordinates LocationPoint
Returns
point in WGS84 coordinates GlobalPoint.

The documentation for this class was generated from the following file: