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.
)
Unique identifier of the building.
@property (nonatomic, strong) NSNumber *DEPRECATED_MSG_ATTRIBUTE ( "Use identifier value of a SITBuilding object instead." )
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