// 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'; /** * Extent specified either in geojson, wkt or ewkt. Coordinates in longitude, latitude order. * @export * @interface Extent */ export interface Extent { /** * Type should always be \'Linestring\' * @type {string} * @memberof Extent */ type: string; /** * Exactly 2 coordinates, specifying the bottom left (longitude, latitude order)and upper right respectively * @type {Array>} * @memberof Extent */ coordinates: Array>; } export function ExtentFromJSON(json: any): Extent { return { 'type': json['type'], 'coordinates': json['coordinates'], }; } export function ExtentToJSON(value?: Extent): any { if (value === undefined) { return undefined; } return { 'type': value.type, 'coordinates': value.coordinates, }; }