IAFloorPlan Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | NSCoding |
| Declared in | IAFloorPlan.h |
Floor plan information
floorPlanId
Identifier of the floor plan.
@property (nonatomic, readonly, nullable) NSString *floorPlanIdDeclared In
IAFloorPlan.h
name
Name of the floor plan.
@property (nonatomic, readonly, nullable) NSString *nameDeclared In
IAFloorPlan.h
imageUrl
Image URL of the floor plan.
@property (nonatomic, readonly, nullable) NSURL *imageUrlDeclared In
IAFloorPlan.h
width
Width of the image bitmap in pixels.
@property (nonatomic, readonly) NSUInteger widthDeclared In
IAFloorPlan.h
height
Height of the image bitmap in pixels.
@property (nonatomic, readonly) NSUInteger heightDeclared In
IAFloorPlan.h
pixelToMeterConversion
Conversion multiplier from pixels to meters.
@property (nonatomic, readonly) float pixelToMeterConversionDeclared In
IAFloorPlan.h
meterToPixelConversion
Conversion multiplier from meters to pixels.
@property (nonatomic, readonly) float meterToPixelConversionDeclared In
IAFloorPlan.h
widthMeters
Width of floor plan in meters.
@property (nonatomic, readonly) float widthMetersDeclared In
IAFloorPlan.h
heightMeters
Height of floor plan in meters.
@property (nonatomic, readonly) float heightMetersDeclared In
IAFloorPlan.h
floor
Object containing the floor of floor plan. If the object is nil, the floor is unspecified.
@property (nonatomic, readonly, nullable) IAFloor *floorDeclared In
IAFloorPlan.h
bearing
The approximate bearing of left side of floor plan in degrees east of true north.
@property (nonatomic, readonly) double bearingDeclared In
IAFloorPlan.h
center
Corresponding WGS84 coordinate of center of floor plan bitmap placed on the surface of Earth.
@property (nonatomic, readonly) CLLocationCoordinate2D centerDeclared In
IAFloorPlan.h
topLeft
Corresponding WGS84 coordinate of top left of floor plan bitmap placed on the surface of Earth.
@property (nonatomic, readonly) CLLocationCoordinate2D topLeftDeclared In
IAFloorPlan.h
topRight
Corresponding WGS84 coordinate of top right of floor plan bitmap placed on the surface of Earth.
@property (nonatomic, readonly) CLLocationCoordinate2D topRightDeclared In
IAFloorPlan.h
bottomLeft
Corresponding WGS84 coordinate of bottom left of floor plan bitmap placed on the surface of Earth.
@property (nonatomic, readonly) CLLocationCoordinate2D bottomLeftDeclared In
IAFloorPlan.h
– coordinateToPoint:
Converts coordinate to corresponding point.
- (CGPoint)coordinateToPoint:(CLLocationCoordinate2D)coordParameters
coord |
WGS84 coordinate |
|---|
Return Value
corresponding pixel point on floor plan bitmap
Declared In
IAFloorPlan.h
– pointToCoordinate:
Converts point to corresponding coordinate.
- (CLLocationCoordinate2D)pointToCoordinate:(CGPoint)pointParameters
point |
pixel point of floor plan bitmap |
|---|
Return Value
corresponding WGS84 coordinate
Declared In
IAFloorPlan.h
– initWithId:width:height:wgs2pix:pix2wgs:
Initializes
- (nullable id)initWithId:(nullable NSString *)floorPlanId width:(NSUInteger)width height:(NSUInteger)height wgs2pix:(nullable NSArray *)wgsToPixel pix2wgs:(nullable NSArray *)pixelToWgsParameters
floorPlanId |
is the identifier of floor plan |
|---|---|
width |
is the width of the floor plan image in pixels |
height |
is the height of the floor plan image in pixels |
wgsToPixel |
is an NSArray of 6 double values in row major order used for creating an affine transform for point mapping |
pixelToWgs |
is an NSArray of 6 double values in row major order used for creating an affine transform for point mapping |
Declared In
IAFloorPlan.h
– initWithId:width:height:wgs2pix:pix2wgs:imageUrl:name:floor:
Initializes
- (nullable id)initWithId:(nullable NSString *)floorPlanId width:(NSUInteger)width height:(NSUInteger)height wgs2pix:(nullable NSArray *)wgsToPixel pix2wgs:(nullable NSArray *)pixelToWgs imageUrl:(nullable NSURL *)url name:(nullable NSString *)name floor:(nullable IAFloor *)floorParameters
floorPlanId |
is the identifier of floor plan |
|---|---|
width |
is the width of the floor plan image in pixels |
height |
is the height of the floor plan image in pixels |
wgsToPixel |
is an NSArray of 6 double values in row major order used for creating an affine transform for point mapping |
pixelToWgs |
is an NSArray of 6 double values in row major order used for creating an affine transform for point mapping |
url |
is a NSURL object containing the url address of the floor plan image |
name |
is the name of the floor plan |
floor |
is a IAFloor object containing the floor number and floor certainty of the floor plan |
Declared In
IAFloorPlan.h