Vps2Pose
Pose in AR coordinate space calculated by VPS2 from a geolocation.
Declaration
struct Vps2PoseConstructors
init(transform: simd_float4x4, horizontalAccuracyMetres: Float, verticalAccuracyMetres: Float, rotationAccuracyDeg: Float)
Summary
Properties
| Name | Type | Summary |
|---|---|---|
| var description | String | A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the String(describing:)initializer. This initializer works with any type, and uses the custom description property for types that conform toCustomStringConvertible:struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of p to a string in the assignment to s uses thePoint type's description property. |
| var horizontalAccuracyMetres | Float | Horizontal accuracy in metres. |
| var rotationAccuracyDeg | Float | Rotation accuracy in degrees. |
| var transform | simd_float4x4 | Pose in the device's AR coordinate space, expressed in the OpenCV coordinate system. |
| var verticalAccuracyMetres | Float | Vertical accuracy in metres. |
Relationships
conforms to: Swift.CustomStringConvertible
Creates a
Vps2Posewith explicit field values.- Parameters:
- transform: The pose transform in AR coordinate space.
- horizontalAccuracyMetres: Horizontal accuracy in metres.
- verticalAccuracyMetres: Vertical accuracy in metres.
- rotationAccuracyDeg: Rotation accuracy in degrees.