View Source Geocalc.Shape.Rectangle (Geocalc v0.8.5)
Rectangle
describes a rectangular geographical area, centered on
latitude
, longitude
(could be Decimal
degrees or Geocalc.DMS
), with
long_semi_axis
and short_semi_axis
(both in meters) and an azimuth
angle
(in degrees).
long_semi_axis
is the distance between the center point and the short
side of the rectangle.
short_semi_axis
is the distance between the center point and the long
side of the rectangle.
angle
is the azimuth angle of the long side of the rectangle, ie: the
angle between north and long_semi_axis
.
Link to this section Summary
Link to this section Types
@type t() :: %Geocalc.Shape.Rectangle{ angle: number(), latitude: number() | Decimal.t() | Geocalc.DMS.t(), long_semi_axis: number(), longitude: number() | Decimal.t() | Geocalc.DMS.t(), short_semi_axis: number() }