Skip to content

CLASS

IPSCoordinateInBuildingModel

public final class IPSCoordinateInBuildingModel: IPSCoordinateInBuilding
  • This class implements the IPSCoordinateInBuilding interface and enables the creation of a coordinate instance that has information about the corresponding floor and building.
  • Coordinates are provided in meters.
  • Since: 8.3.0

Properties

x

public let x: CGFloat

X coordinate in meters (increasing from left to right of building). - Since: 8.3.0

y

public let y: CGFloat

Y coordinate in meters (increasing from bottom to top of building). - Since: 8.3.0

z

public let z: CGFloat

Z coordinate. Currently unused. In future version of the SDK will indicate height. - Since: 8.3.0

buildingId

public let buildingId: String

ID of the corresponding building - Since: 8.3.0

floorOrder

public let floorOrder: Int

Order of the corresponding floor

  • Since: 8.3.0

Methods

init(buildingId:floorOrder:x:y:z:)

public init(buildingId: String, floorOrder: Int, x: CGFloat, y: CGFloat, z: CGFloat = 0)