fun set(index: int, element: float): float
Replaces the element at the specified position in this list with the specified element.
index
- int: index of the element to replace
element
- float: element to be stored at the specified position
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.
pointIndex
- int: index of the element to replace
point
- kotlin.Array<float>: element to be stored at the specified position