addLocal

fun Location.addLocal(local: Vector): Location

Adds a local vector to the location, taking into account the location's yaw and pitch.

Return

The new location.

Parameters

local

The local vector to add.


fun Location.addLocal(location: Location): Location

Adds a local location to the location, taking into account the location's yaw and pitch.

Return

The new location.

Parameters

location

The local location to add.


fun Location.addLocal(x: Double, y: Double, z: Double): Location

Adds local x, y, z coordinates to the location, taking into account the location's yaw and pitch.

Return

The new location.

Parameters

x

The local x coordinate to add.

y

The local y coordinate to add.

z

The local z coordinate to add.