CircleGeometry
public struct CircleGeometry : Hashable, Equatable
Circle geometry for searchArea.
Equatable implementation.
Declaration
Swift
public static func == (lhs: CircleGeometry, rhs: CircleGeometry) -> Bool
Coordinate of the circle center.
Declaration
Swift
public let coordinate: CLLocationCoordinate2D
Hashable implementation.
Declaration
Swift
public func hash(into hasher: inout Hasher)
Creates a new CircleGeometry.
Declaration
Swift
public init(coordinate: CLLocationCoordinate2D, radius: Measurement<UnitLength>)
Parameters
coordinate
|
a coordinate that defines the circle center |
radius
|
radius of the circle |
Radius of the circle.
Declaration
Swift
public let radius: Measurement<UnitLength>