Utils.hpp
Go to the documentation of this file.
1 /*
2  * Utils.h
3  *
4  * Created on: Jul 10, 2020
5  * Author: Ruben Grandia
6  * Institute: ETH Zurich
7  */
8 
9 #pragma once
10 
11 namespace grid_map {
12 namespace signed_distance_field {
13 
14 // Check existence of inf
15 static_assert(std::numeric_limits<float>::has_infinity, "float does not support infinity");
16 
18 constexpr float INF = std::numeric_limits<float>::infinity();
19 
20 } // namespace signed_distance_field
21 } // namespace grid_map
constexpr float INF
Distance value that is considered infinite.
Definition: Utils.hpp:18


grid_map_sdf
Author(s): Takahiro Miki , Péter Fankhauser
autogenerated on Wed Jul 5 2023 02:23:42