ly.img.android.pesdk.utils / FloatPointList / set

set

fun set(index: int, element: float): float

Replaces the element at the specified position in this list with the specified element.

Parameters

index - int: index of the element to replace

element - float: element to be stored at the specified position

Exceptions

IndexOutOfBoundsException -

Return
float: the element previously at the specified position

fun set(pointIndex: int, point: kotlin.Array<float>): void

Replaces the element at the specified position in this list with the specified element.

Parameters

pointIndex - int: index of the element to replace

point - kotlin.Array<float>: element to be stored at the specified position

Exceptions

IndexOutOfBoundsException -