Function check_distances
Defined in File calculate_configurations.hpp
Function Documentation
-
std::vector<bool> check_distances(std::vector<std::array<float, 3>> cones, std::vector<int> current_attempt, int position_in_stack, std::vector<std::array<float, 2>> neighbors_points, const float threshold_absolute_angle)
Checks if neighbors can be added to the current attempt (using distances).
- Parameters:
cones – Vector of cones.
current_attempt – The vector of current attempt.
position_in_stack – The current position in the stack.
neighbors_points – The vector of neighbors points(cones).
threshold_absolute_angle – Threshold for absolute angle.
- Returns:
std::vector<bool> Boolean mask.