// 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'; /** * Linestring (epsg:4326) specified in wkt or geojson. Coordinates in longitude, latitude order. * @export * @interface Linestring */ export interface Linestring { /** * Type should always be \'linestring\' or \'LINESTRING\' * @type {string} * @memberof Linestring */ type: string; /** * List of coordinates. (longitude, latitude order) * @type {Array>} * @memberof Linestring */ coordinates: Array>; } export function LinestringFromJSON(json: any): Linestring { return { 'type': json['type'], 'coordinates': json['coordinates'], }; } export function LinestringToJSON(value?: Linestring): any { if (value === undefined) { return undefined; } return { 'type': value.type, 'coordinates': value.coordinates, }; }