coordinate method

GeoCoordinate2D coordinate(
  1. GeoAngle angle, [
  2. GeoCoordinate2D? center
])

Get coordinate on an ellipse centered at center at an angle given in GeoAngle (either radian or degree). If center is not specified, origin (0,0) is assumed.

Implementation

GeoCoordinate2D coordinate(GeoAngle angle, [GeoCoordinate2D? center]) {
  return coordinateByRadian(angle.radian, center);
}