Geocalc.Shape.Rectangle (Geocalc v0.8.4) View Source
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
Specs
t() :: %Geocalc.Shape.Rectangle{
angle: number(),
latitude: number() | Geocalc.DMS.t(),
long_semi_axis: number(),
longitude: number() | Geocalc.DMS.t(),
short_semi_axis: number()
}