Tatooine
Public Types | Public Member Functions | List of all members
tatooine::ray_intersectable< Real, NumDimensions > Struct Template Referenceabstract

#include <ray_intersectable.h>

Inheritance diagram for tatooine::ray_intersectable< Real, NumDimensions >:
[legend]

Public Types

using real_type = Real
 
using intersection_type = intersection< real_type, NumDimensions >
 
using optional_intersection_type = std::optional< intersection_type >
 
using ray_type = ray< real_type, NumDimensions >
 

Public Member Functions

virtual ~ray_intersectable ()=default
 
virtual auto check_intersection (ray_type const &r, real_type const min_t) const -> optional_intersection_type=0
 

Member Typedef Documentation

◆ intersection_type

template<typename Real , std::size_t NumDimensions>
using tatooine::ray_intersectable< Real, NumDimensions >::intersection_type = intersection<real_type, NumDimensions>

◆ optional_intersection_type

template<typename Real , std::size_t NumDimensions>
using tatooine::ray_intersectable< Real, NumDimensions >::optional_intersection_type = std::optional<intersection_type>

◆ ray_type

template<typename Real , std::size_t NumDimensions>
using tatooine::ray_intersectable< Real, NumDimensions >::ray_type = ray<real_type, NumDimensions>

◆ real_type

template<typename Real , std::size_t NumDimensions>
using tatooine::ray_intersectable< Real, NumDimensions >::real_type = Real

Constructor & Destructor Documentation

◆ ~ray_intersectable()

template<typename Real , std::size_t NumDimensions>
virtual tatooine::ray_intersectable< Real, NumDimensions >::~ray_intersectable ( )
virtualdefault

Member Function Documentation

◆ check_intersection()

template<typename Real , std::size_t NumDimensions>
virtual auto tatooine::ray_intersectable< Real, NumDimensions >::check_intersection ( ray_type const &  r,
real_type const  min_t 
) const -> optional_intersection_type
pure virtual

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