CircleGeometry

public struct CircleGeometry : Hashable

Circle geometry for searchArea.

  • 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

  • Coordinate of the circle center.

    Declaration

    Swift

    public let coordinate: CLLocationCoordinate2D
  • Radius of the circle.

    Declaration

    Swift

    public let radius: Measurement<UnitLength>