GenericPositionSurrogate

data class GenericPositionSurrogate(val coordinates: List<Double>, val dimensions: Int = coordinates.size) : PositionSurrogate

An implementation of PositionSurrogate for a generic Position object.

Constructors

Link copied to clipboard
constructor(coordinates: List<Double>, dimensions: Int = coordinates.size)

Properties

Link copied to clipboard
open override val coordinates: List<Double>

The coordinates of the position.

Link copied to clipboard
open override val dimensions: Int

The dimension of the position.

Functions

Link copied to clipboard

Converts this surrogate to a PositionInput object.