View Source Geocalc.Shape.Ellipse (Geocalc v0.8.5)

Ellipse describes an elliptic 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 length of the longest diameter, also called semi-major axis.

short_semi_axis is the length of the shortest diameter, also called semi-minor axis.

angle is the azimuth angle of the long semi-axis.

Link to this section Summary

Link to this section Types

@type t() :: %Geocalc.Shape.Ellipse{
  angle: number(),
  latitude: number() | Decimal.t() | Geocalc.DMS.t(),
  long_semi_axis: number(),
  longitude: number() | Decimal.t() | Geocalc.DMS.t(),
  short_semi_axis: number()
}