// tslint:disable /** * 3Di API * 3Di simulation API (latest stable version: v3) Framework release: 3.0.1 3Di core release: 2.3.0.dev0 deployed on: 10:42AM (UTC) on October 04, 2022 * * The version of the OpenAPI document: v3 * Contact: info@nelen-schuurmans.nl * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { exists, mapValues } from '../runtime'; /** * Polygon specified in wkt or geojson, interior rings are not allowed. Coordinates in longitude, latitude order. * @export * @interface Polygon */ export interface Polygon { /** * Type should always be \'Polygon\' * @type {string} * @memberof Polygon */ type: string; /** * List of coordinates (longitude, latitude order) * @type {Array>>} * @memberof Polygon */ coordinates: Array>>; } export function PolygonFromJSON(json: any): Polygon { return { 'type': json['type'], 'coordinates': json['coordinates'], }; } export function PolygonToJSON(value?: Polygon): any { if (value === undefined) { return undefined; } return { 'type': value.type, 'coordinates': value.coordinates, }; }