header_utils
Loading...
Searching...
No Matches
ghassanpl::geometry::interval< T > Struct Template Reference

For interval<T> projected_on_axis(glm::tvec2<T> axis) const;. More...

#include <geometry_common.h>

Public Member Functions

bool overlaps (interval const &other) const
T overlap (interval const &other) const

Public Attributes

T min
T max

Detailed Description

template<typename T>
struct ghassanpl::geometry::interval< T >

For interval<T> projected_on_axis(glm::tvec2<T> axis) const;.

Definition at line 357 of file geometry_common.h.

Member Function Documentation

◆ overlap()

template<typename T>
T ghassanpl::geometry::interval< T >::overlap ( interval< T > const & other) const
inline

Definition at line 363 of file geometry_common.h.

◆ overlaps()

template<typename T>
bool ghassanpl::geometry::interval< T >::overlaps ( interval< T > const & other) const
inline

Definition at line 362 of file geometry_common.h.

Member Data Documentation

◆ max

template<typename T>
T ghassanpl::geometry::interval< T >::max

Definition at line 360 of file geometry_common.h.

◆ min

template<typename T>
T ghassanpl::geometry::interval< T >::min

Definition at line 359 of file geometry_common.h.