UFO 1.0.0
An Efficient Probabilistic 3D Mapping Framework That Embraces the Unknown
Loading...
Searching...
No Matches
ufo::init_alpha< T > Struct Template Reference

Default-initialised alpha value for T. More...

#include <lib/vision/include/ufo/vision/color/type_traits.hpp>

Public Types

using type = alpha_type_t< T >
 

Static Public Attributes

static constexpr type value
 

Detailed Description

template<class T>
struct ufo::init_alpha< T >

Default-initialised alpha value for T.

1 for floating-point types, std::numeric_limits<value_type>::max() for integral types.

Definition at line 294 of file type_traits.hpp.

Member Typedef Documentation

◆ type

template<class T >
using ufo::init_alpha< T >::type = alpha_type_t<T>

Definition at line 295 of file type_traits.hpp.

Member Data Documentation

◆ value

template<class T >
constexpr type ufo::init_alpha< T >::value
staticconstexpr
Initial value:
=
std::floating_point<type> ? type(1) : std::numeric_limits<type>::max()
STL namespace.
constexpr Vec< Geometry::dimension(), typename Geometry::value_type > max(Geometry const &g)
Returns the maximum coordinate of the minimum spanning axis-aligned bounding box of a geometry.
Definition fun.hpp:72

Definition at line 297 of file type_traits.hpp.


The documentation for this struct was generated from the following file: