create = (vertices) => {
  if (vertices === undefined || vertices.length < 3) {
    vertices = [] // empty contents
  }
  return { vertices: vertices }
}
Creates a new polygon with initial values.

@param {Array} [vertices] - list of vertices (2D)
@returns {poly2} a new polygon
@alias module:modeling/geometries/poly2.create

@example
let polygon = create()