Every Hexagon contains 6 Points then 12 "vertices" which are just the x,y of each Point. Get the Point...
/**
* Returns a list containing the [Point]s of this [Hexagon].
*/
val points: List<Point>
/**
* Returns an array of the vertices of this [Hexagon].
*/
val vertices: List<Double>
Perhaps it was meant to be an Array of primitive types? (doc clearly says array in contradiction to the actual type).