8 const double angle = std::atan2(y, x) * 180.0 / M_PI;
9 const double half_fov = params.
fov / 2.0;
10 if (angle < -half_fov || angle > half_fov) {
15 double distance_squared = x * x + y * y;
19 (distance_squared <= max_range * max_range);
bool within_limits(float x, float y, float z, float intensity, const TrimmingParameters ¶ms, const double max_range) const