void OrderedTaskPoint::scan_projection(TaskProjection& task_projection) const { task_projection.scan_location(get_location()); #define fixed_steps fixed(0.05) for (fixed t=fixed_zero; t<= fixed_one; t+= fixed_steps) { task_projection.scan_location(get_boundary_parametric(t)); } }
void OrderedTaskPoint::scan_projection(TaskProjection &task_projection) const { task_projection.scan_location(GetLocation()); #define fixed_steps fixed(0.05) const ObservationZone::Boundary boundary = GetBoundary(); for (auto i = boundary.begin(), end = boundary.end(); i != end; ++i) task_projection.scan_location(*i); }