SITIndoorBuilding Class Reference

Inherits from NSObject
Declared in SITIndoorBuilding.h

Overview

This class provide details on the building with support for indoor location.

You should not create objects of this class. Instead you should retrieve them using the appropiate method of the SITCommunicationManager class.

  identifier

Unique identifier of the building.

@property (nonatomic, strong) DEPRECATED_MSG_ATTRIBUTE ( "Use identifier value of a SITBuilding object instead." ) NSNumber *identifier

Declared In

SITIndoorBuilding.h

  user_identifier

Unique identifier of the user that has created the building

@property (nonatomic, strong) DEPRECATED_MSG_ATTRIBUTE ( "Use userIdentifier value of a SITBuilding object instead." ) NSNumber *user_identifier

Declared In

SITIndoorBuilding.h

  name

Name of the building.

@property (nonatomic, strong) DEPRECATED_MSG_ATTRIBUTE ( "Use name value of a SITBuilding object instead." ) NSString *name

Declared In

SITIndoorBuilding.h

  address

Address string of the building.

@property (nonatomic, strong) DEPRECATED_MSG_ATTRIBUTE ( "Use address value of a SITBuilding object instead." ) NSString *address

Declared In

SITIndoorBuilding.h

  latitude

Latitude coordinate of the building.

@property (nonatomic, strong) DEPRECATED_MSG_ATTRIBUTE ( "Use center.latitude value of a SITBuilding object instead." ) NSNumber *latitude

Declared In

SITIndoorBuilding.h

  longitude

Longitude coordinate of the building.

@property (nonatomic, strong) DEPRECATED_MSG_ATTRIBUTE ( "Use center.longitude value of a SITBuilding object instead." ) NSNumber *longitude

Declared In

SITIndoorBuilding.h

  picture_url

This property is the url of the picture of a SITIndoorBuilding at high quality

@property (nonatomic, strong) DEPRECATED_MSG_ATTRIBUTE ( "Use pictureURL value of a SITBuilding object instead." ) NSString *picture_url

Declared In

SITIndoorBuilding.h

  picture_thumb_url

This property is the url of the picture of a SITIndoorBuilding at low quality

@property (nonatomic, strong) DEPRECATED_MSG_ATTRIBUTE ( "Use pictureThumbURL value of a SITBuilding object instead." ) NSString *picture_thumb_url

Declared In

SITIndoorBuilding.h

  info

Detailed information in an HTML format

@property (nonatomic, strong) DEPRECATED_MSG_ATTRIBUTE ( "Use infoHTML property of a SITBuilding object instead." ) NSString *info

Declared In

SITIndoorBuilding.h

– coordinate

Convinient method to restore a CLLocationCoordinate2D object from latitude and longitude coordinates

- (CLLocationCoordinate2D)coordinate

Return Value

CLLocationCoordinate2D

Declared In

SITIndoorBuilding.h

– angleFromYaw:

Converts the orientation from floorplan coordinates to geographic coordinates

- (NSNumber *)angleFromYaw:(NSNumber *)yaw

Parameters

yaw

value of the orientation in floorplan coordinate. Normally this value is retrieved from SITIndoorLocation

Return Value

float Number with angle (radians)

Discussion

If you want to use this value in degrees you should convert it by applying the conversion 180/M_PI

Declared In

SITIndoorBuilding.h

– coordinateFromPoint:

Converts a floorplan coordinate in a geographic coordinate

- (CLLocationCoordinate2D)coordinateFromPoint:(CGPoint)point

Parameters

point

CGPoint with x and y floorplan coordinates

Return Value

Geographic coordinate

Declared In

SITIndoorBuilding.h

– pointFromCoordinate:

Returns a CGPoint for where coordinates sit on the floorplan

- (CGPoint)pointFromCoordinate:(CLLocationCoordinate2D)coordinate

Parameters

coordinate

Geographic coordinate inside a SITBounds region

Return Value

CGPoint with x and y coordinates

Declared In

SITIndoorBuilding.h

– bounds

Represent the region of a SITIndoorLevel map

- (SITBounds)bounds

Return Value

SITBounds structure with NortWest, NorthEast, SouthWest and SouthEast coordinates

Declared In

SITIndoorBuilding.h

– hasValidModel

Determines if the building has a valid model

- (BOOL)hasValidModel

Return Value

BOOL value that determines if the model of the building is valid (YES) or not (NO)

Declared In

SITIndoorBuilding.h