Skip to main content
API Reference SwiftyNsdk NsdkVps2Session

getGeolocation

Gets the geolocation of a pose using the provided VPS2 transformer....

Declaration

func getGeolocation(transformer: Vps2Transformer, pose: simd_float4x4) -> Vps2GeolocationData

Summary

Gets the geolocation of a pose using the provided VPS2 transformer.
- Parameters:
- transformer: The transformer to use for the geolocation calculation.
- pose: The pose in the device's AR coordinate space.
- Returns: Geolocation data corresponding to the given pose.
- Note: The function may succeed even if the transformer is not localized; callers should
check transformer.trackingState and treat results as invalid if it is .unavailable.


ON THIS PAGE