Blender V5.3
BLI_bounds.hh File Reference
#include <optional>
#include "BLI_bounds_types.hh"
#include "BLI_index_mask.hh"
#include "BLI_math_matrix.hh"
#include "BLI_math_vector.hh"
#include "BLI_span.hh"
#include "BLI_task.hh"
#include "BLI_virtual_array.hh"
#include "PRF_profile.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::bounds
namespace  blender::bounds::detail

Functions

template<typename T>
Bounds< T > blender::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::merge (const std::optional< Bounds< T > > &a, const 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>
Bounds< T > blender::bounds::detail::min_max_lanes (const Span< T > values)
template<typename T, typename RadiusT>
Bounds< T > blender::bounds::detail::min_max_lanes_with_radii (const Span< T > values, const Span< RadiusT > radii)
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::min_max (const VArray< T > &varray)
template<typename T>
std::optional< Bounds< T > > blender::bounds::intersect (const Bounds< T > &a, const Bounds< T > &b)
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>
std::optional< T > blender::bounds::max (const VArray< T > &values)
template<typename T>
std::array< VecBase< T, 3 >, 8 > blender::bounds::corners (const Bounds< VecBase< T, 3 > > &bounds)
template<typename T>
std::array< VecBase< T, 2 >, 4 > blender::bounds::corners (const Bounds< VecBase< T, 2 > > &bounds)
template<typename T, int D>
Bounds< VecBase< T, 3 > > blender::bounds::transform_bounds (const MatBase< T, D, D > &matrix, const Bounds< VecBase< T, 3 > > &bounds)
template<typename T, int D>
Bounds< VecBase< T, 2 > > blender::bounds::transform_bounds (const MatBase< T, D, D > &matrix, const Bounds< VecBase< T, 2 > > &bounds)
template<typename T, int Size>
bool blender::bounds::detail::any_less_than_v (const VecBase< T, Size > &a, const VecBase< T, Size > &b)
template<typename T, int Size>
bool blender::bounds::detail::any_greater_than_v (const VecBase< T, Size > &a, const VecBase< T, Size > &b)
template<typename T, int Size>
bool blender::bounds::detail::any_less_or_equal_than_v (const VecBase< T, Size > &a, const VecBase< T, Size > &b)
template<typename T>
bool blender::bounds::detail::any_less_than (const T &a, const T &b)
template<typename T>
bool blender::bounds::detail::any_greater_than (const T &a, const T &b)
template<typename T>
bool blender::bounds::detail::any_less_or_equal_than (const T &a, const T &b)
template<typename T>
Bounds< T > blender::bounds::detail::segment_bounds (const T &start, const T &end)
template<typename T>
bool blender::bounds::detail::rational_greater_than (const T &p1, const T &q1, const T &p2, const T &q2)
template<typename T>
bool blender::bounds::detail::rational_less_than (const T &p1, const T &q1, const T &p2, const T &q2)
template<typename T, int Size>
bool blender::bounds::detail::segment_enter_exit_bounds (const Bounds< VecBase< T, Size > > &bounds, const VecBase< T, Size > &start, const VecBase< T, Size > &end)