| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Location.Types.Circle
Description
Documentation
A circle on the earth, as defined by a center point and a radius.
See: newCircle smart constructor.
Constructors
| Circle' | |
Instances
| FromJSON Circle Source # | |
| ToJSON Circle Source # | |
Defined in Amazonka.Location.Types.Circle | |
| Generic Circle Source # | |
| Show Circle Source # | |
| NFData Circle Source # | |
Defined in Amazonka.Location.Types.Circle | |
| Eq Circle Source # | |
| Hashable Circle Source # | |
Defined in Amazonka.Location.Types.Circle | |
| type Rep Circle Source # | |
Defined in Amazonka.Location.Types.Circle type Rep Circle = D1 ('MetaData "Circle" "Amazonka.Location.Types.Circle" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "Circle'" 'PrefixI 'True) (S1 ('MetaSel ('Just "center") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive (NonEmpty Double))) :*: S1 ('MetaSel ('Just "radius") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double))) | |
Create a value of Circle with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:center:Circle', circle_center - A single point geometry, specifying the center of the circle, using
WGS 84
coordinates, in the form [longitude, latitude].
$sel:radius:Circle', circle_radius - The radius of the circle in meters. Must be greater than zero and no
larger than 100,000 (100 kilometers).