Blender V4.3
BLI_bounds.hh File Reference
#include <optional>
#include "BLI_bounds_types.hh"
#include "BLI_index_mask.hh"
#include "BLI_math_vector.hh"
#include "BLI_task.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::bounds
 
namespace  blender::detail
 

Functions

template<typename T >
Bounds< Tblender::bounds::merge (const Bounds< T > &a, const Bounds< T > &b)
 
template<typename T >
std::optional< Bounds< T > > blender::bounds::merge (const std::optional< Bounds< T > > &a, const std::optional< Bounds< T > > &b)
 
template<typename T >
std::optional< Bounds< T > > blender::bounds::min_max (const std::optional< Bounds< T > > &a, const T &b)
 
template<typename T >
std::optional< Bounds< T > > blender::bounds::min_max (const Span< T > values)
 
template<typename T >
std::optional< Bounds< T > > blender::bounds::min_max (const IndexMask &mask, const Span< T > values)
 
template<typename T , typename RadiusT >
std::optional< Bounds< T > > blender::bounds::min_max_with_radii (const Span< T > values, const Span< RadiusT > radii)
 
template<typename T >
std::optional< Bounds< T > > blender::bounds::intersect (const std::optional< Bounds< T > > &a, const std::optional< Bounds< T > > &b)
 
template<typename T , int Size>
bool blender::detail::any_less_or_equal_than (const VecBase< T, Size > &a, const VecBase< T, Size > &b)
 

Detailed Description

Generic algorithms for finding the largest and smallest elements in a span.

Definition in file BLI_bounds.hh.