CLASS
IPSWaypointModel
public final class IPSWaypointModel: IPSWaypoint
- This class implements the
IPSWaypointinterface and enables the creation of an instance. This class contains the representation of a location of interest on a route. - 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
id
public let id: String
The unique id associated with this waypoint. - Since: 8.3.0
Methods
init(id:buildingId:floorOrder:x:y:z:)
public init(id: String, buildingId: String, floorOrder: Int, x: CGFloat, y: CGFloat, z: CGFloat = 0)