geomc 1.0
A c++ linear algebra template library
Loading...
Searching...
No Matches
RayIntersectable< T, N, Derived > Class Template Reference

Base class describing N-dimensional shapes which can be intersection-tested with a Ray. More...

#include <geomc/shape/Shape.h>

Inheritance diagram for RayIntersectable< T, N, Derived >:
Frustum< Circle< T > > Rect< float, 1 > Rect< double, 1 > Rect< dual_t, 1 > Similar< Rect< T, N > > Transformed< Frustum< Rect< T, N-1 > > > Transformed< Cone< T > >

Public Member Functions

Rect< T, 1 > intersect (const Ray< T, N > &r) const
 Ray/shape intersection.
 

Detailed Description

template<typename T, index_t N, typename Derived>
class geom::RayIntersectable< T, N, Derived >

Base class describing N-dimensional shapes which can be intersection-tested with a Ray.

Uses the curiously-recurring template pattern to perform static polymorphism.


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