//-----------------------------------------------------------------------
// <copyright file="Vector2d.cs" company="Mapbox">
//     Copyright (c) 2016 Mapbox. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace Mapbox.Utils
{
	using System.Globalization;

	/// <summary> Represents a geographic coordinate. </summary>
	//public struct Vector2d
	//{
	//	/// <summary> Latitude, in decimal degrees. </summary>
	//	public double Latitude;

	//	/// <summary> Longitude, in decimal degrees. </summary>
	//	public double Longitude;

	//	/// <summary> Initializes a new instance of the <see cref="Vector2d" /> struct. </summary>
	//	/// <param name="latitude"> Latitude, in decimal degrees. </param>
	//	/// <param name="longitude"> Longitude, in decimal degrees. </param>
	//	public Vector2d(double latitude, double longitude)
	//	{
	//		this.Latitude = latitude;
	//		this.Longitude = longitude;
	//	}

	//	/// <summary>
	//	/// Converts to an array of doubles.
	//	/// </summary>
	//	/// <returns>An array of coordinates.</returns>
	//	public double[] ToArray()
	//	{
	//		double[] array =
	//		{
	//			this.Latitude,
	//			this.Longitude
	//		};

	//		return array;
	//	}

	//	/// <summary> Converts LatLng to a URL snippet. </summary>
	//	/// <returns> Returns a string for use in a Mapbox query URL. </returns>
	//	public override string ToString()
	//	{
	//		return string.Format(NumberFormatInfo.InvariantInfo, "{0:F5},{1:F5}", this.Longitude, this.Latitude);
	//	}
	//}
}
