Skip to content

//sdk-realtime/me.oriient.ipssdk.api.models/IPSBuildingCoordinatesConverter/convertToOriient

convertToOriient

[androidJvm]\

@Nullable

abstract fun convertToOriient(@NonNullcoordinate: IPSCoordinate, @NonNullfloorId: String): IPSCoordinate

Converts a coordinate in the Client's coordinate system to the corresponding coordinate in Oriient's coordinate system.

Since

3.4.0

Return

Corresponding Oriient coordinate if the floor id is valid. Null otherwise.

Parameters

androidJvm

coordinate - Client coordinate.
floorId - floor id of the relevant floor.

[androidJvm]\

@Nullable

abstract fun convertToOriient(@NonNullcoordinate: IPSCoordinate, @NonNullfloorId: String, allowSnapping: Boolean): IPSCoordinate

Converts a coordinate in the Client's coordinate system to the corresponding coordinate in Oriient's coordinate system.

Since

8.3.0

Return

Corresponding Oriient coordinate if the floor id is valid. Null otherwise.

Parameters

androidJvm

coordinate - Client coordinate.
floorId - floor id of the relevant floor.
allowSnapping - defines if the SDK is allowed to snap the coordinate to layout if possible.

[androidJvm]\

@Nullable

abstract fun convertToOriient(@NonNullheading: IPSHeading, @NonNullfloorId: String): IPSHeading

Converts a heading in the Client's coordinate system to the corresponding heading in Oriient's coordinate system.

Since

3.4.0

Return

Corresponding Oriient heading if the floor id is valid. Null otherwise.

Parameters

androidJvm

heading - Client heading.
floorId - floor id of the relevant floor.