src/ol/format/TopoJSON.js
function transformVertex(vertex, scale, translate) {
  vertex[0] = vertex[0] * scale[0] + translate[0];
  vertex[1] = vertex[1] * scale[1] + translate[1];
}
function transformVertex(vertex, scale, translate) {
  vertex[0] = vertex[0] * scale[0] + translate[0];
  vertex[1] = vertex[1] * scale[1] + translate[1];
}
function transformVertex ( vertex , scale , translate ) { vertex [ 0 ] = vertex [ 0 ] * scale [ 0 ] + translate [ 0 ] ; vertex [ 1 ] = vertex [ 1 ] * scale [ 1 ] + translate [ 1 ] ; }
Apply a linear transform to a vertex.  The provided vertex is modified in
place.

@param {import("../coordinate.js").Coordinate} vertex Vertex.
@param {Array<number>} scale Scale for each dimension.
@param {Array<number>} translate Translation for each dimension.
Apply a linear transform to a vertex . The provided vertex is modified in place .