Airspace::Airspace(const GeoPoint &loc, const TaskProjection &task_projection,
                   const fixed range)
  :FlatBoundingBox(task_projection.ProjectInteger(loc),
                   task_projection.ProjectRangeInteger(loc, range)),
   airspace(nullptr)
{
}
Exemple #2
0
 gcc_pure
 unsigned ProjectRange(const GeoPoint &location, fixed distance) const {
   return task_projection.ProjectRangeInteger(location, distance);
 }