fromPositionInput

Converts a PositionInput to its relative PositionSurrogate.

Return

the PositionSurrogate relative to the given position.

Parameters

input

the PositionInput to convert.