IAFloorPlan Class Reference
| Inherits from | NSObject |
| Declared in | IAFloorPlan.h |
Tasks
Floor plan information
-
floorPlanIdproperty -
nameproperty -
imageUrlproperty -
widthproperty -
heightproperty -
pixelToMeterConversionproperty -
meterToPixelConversionproperty -
widthMetersproperty -
heightMetersproperty -
floorproperty -
bearingproperty -
centerproperty -
topLeftproperty -
topRightproperty -
bottomLeftproperty -
– coordinateToPoint: -
– pointToCoordinate: -
– initWithId:width:height:wgs2pix:pix2wgs:
Properties
bearing
The approximate bearing of left side of floor plan in degrees East of true North.
@property (nonatomic, readonly) double bearingDeclared In
IAFloorPlan.hbottomLeft
Corresponding WGS84 coordinate of bottom left of floor plan bitmap placed on the surface of earth.
@property (nonatomic, readonly) CLLocationCoordinate2D bottomLeftDeclared In
IAFloorPlan.hcenter
Corresponding WGS84 coordinate of center of floor plan bitmap placed on the surface of earth.
@property (nonatomic, readonly) CLLocationCoordinate2D centerDeclared In
IAFloorPlan.hfloor
Object containing the floor of floor plan. If the object is nil, the floor is unspecified.
@property (nonatomic, readonly, nullable) IAFloor *floorDeclared In
IAFloorPlan.hfloorPlanId
Identifier of the floor plan.
@property (nonatomic, readonly, nullable) NSString *floorPlanIdDeclared In
IAFloorPlan.hheight
Height of the image bitmap in pixels.
@property (nonatomic, readonly) NSUInteger heightDeclared In
IAFloorPlan.hheightMeters
Height of floor plan in meters.
@property (nonatomic, readonly) float heightMetersDeclared In
IAFloorPlan.himageUrl
Image URL of the floor plan.
@property (nonatomic, readonly, nullable) NSURL *imageUrlDeclared In
IAFloorPlan.hmeterToPixelConversion
Conversion multiplier for meters to pixels.
@property (nonatomic, readonly) float meterToPixelConversionDeclared In
IAFloorPlan.hname
Name of the floor plan.
@property (nonatomic, readonly, nullable) NSString *nameDeclared In
IAFloorPlan.hpixelToMeterConversion
Conversion multiplier for pixels to meters.
@property (nonatomic, readonly) float pixelToMeterConversionDeclared In
IAFloorPlan.htopLeft
Corresponding WGS84 coordinate of top left of floor plan bitmap placed on the surface of earth.
@property (nonatomic, readonly) CLLocationCoordinate2D topLeftDeclared In
IAFloorPlan.htopRight
Corresponding WGS84 coordinate of top right of floor plan bitmap placed on the surface of earth.
@property (nonatomic, readonly) CLLocationCoordinate2D topRightDeclared In
IAFloorPlan.hInstance Methods
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.hinitWithId:width:height:wgs2pix:pix2wgs:
Initializes IAFloorPlan
- (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 floor plan image in pixels
- height
is the height of floor plan image in pixels
- wgsToPixel
is NSArray of 6 double values in row major order used for creating affine transform for point mapping
- pixelToWgs
is NSArray of 6 double values in row major order used for creating affine transform for point mapping
Declared In
IAFloorPlan.h