コード例 #1
0
GeoEllipse::GeoEllipse(const GeoPoint &f1, const GeoPoint &f2,
                       const GeoPoint &p, const TaskProjection &_task_projection)
  :task_projection(_task_projection)
{
  ell = FlatEllipse(task_projection.fproject(f1), task_projection.fproject(f2),
                    task_projection.fproject(p));
}
コード例 #2
0
ファイル: GeoEllipse.cpp プロジェクト: dadyeah/XCSoar_101214
GeoEllipse::GeoEllipse(const GeoPoint &f1, const GeoPoint &f2,
                       const GeoPoint &p, const FlatProjection &_projection)
  :projection(_projection)
{
  ell = FlatEllipse(projection.ProjectFloat(f1),
                    projection.ProjectFloat(f2),
                    projection.ProjectFloat(p));
}