# CLLocationCoordinate2D

Undocumented

• ``` ==(_:_:) ```

Compares two coordinates and returns true if their latitude and longitudes are equal.

#### Declaration

Swift

``public static func ==(left: CLLocationCoordinate2D, right: CLLocationCoordinate2D) -> Bool``
• ``` +(_:_:) ```

Adds two coordinates, returning the coordinate resulting of adding each component independently.

#### Declaration

Swift

``public static func +(left: CLLocationCoordinate2D, right: CLLocationCoordinate2D) -> CLLocationCoordinate2D``
• ``` -(_:_:) ```

Subtracts two coordinates, returning the coordinate resulting of subtracting each component independently.

#### Declaration

Swift

``public static func -(left: CLLocationCoordinate2D, right: CLLocationCoordinate2D) -> CLLocationCoordinate2D``
• ``` /(_:_:) ```

Returns the coordinate resulting of dividing each component by given numeric value as a floating point number.

#### Declaration

Swift

``public static func /(left: CLLocationCoordinate2D, right: Int) -> CLLocationCoordinate2D``
• ``` /(_:_:) ```

Returns the coordinate resulting of dividing each component by given floating point number.

#### Declaration

Swift

``public static func /(left: CLLocationCoordinate2D, right: Double) -> CLLocationCoordinate2D``
• ``` *(_:_:) ```

Returns the coordinate resulting of multiplying each component by given numeric value as a floating point number.

#### Declaration

Swift

``public static func *(left: CLLocationCoordinate2D, right: Int) -> CLLocationCoordinate2D``
• ``` *(_:_:) ```

Returns the coordinate resulting of multiplying each component by given floating point number.

#### Declaration

Swift

``public static func *(left: CLLocationCoordinate2D, right: Double) -> CLLocationCoordinate2D``
• ``` distance(to:) ```

Returns distance from this coordinate to given one.

#### Declaration

Swift

``````@available(* 1.2.0, *)
public func distance(to coordinate: CLLocationCoordinate2D) -> Double``````

#### Parameters

 ``` coordinate ``` Coordinate to which distance will be computed.

#### Return Value

Distance using Pytagora’s theorem.

• ``` zero ```

Location coordinate for point at latitude and longitude 0.

#### Declaration

Swift

``````@available(* 1.4.0, *)
public static let zero: CLLocationCoordinate2D``````
• ``` isZero ```

Whether this coordinate is `(0, 0)` or not.

#### Declaration

Swift

``public var isZero: Bool { get }``