geomc 1.0
A c++ linear algebra template library
Loading...
Searching...
No Matches
geom::RayIntersectableObject Concept Reference

A shape which can be intersected by a ray. More...

#include <geomc/shape/ShapeTypes.h>

Concept definition

template<typename Shape>
concept geom::RayIntersectableObject = DimensionalObject<Shape> and requires (const Shape s) {
{ s.intersect(Ray<typename Shape::elem_t, Shape::N>()) } -> std::convertible_to<Rect<typename Shape::elem_t, 1>>;
}
Ray class.
Definition Ray.h:20
Concept for an object or operation that exists in a certain dimension with a certain coordinate type.
Definition LinalgTypes.h:338
A shape which can be intersected by a ray.
Definition ShapeTypes.h:176

Detailed Description

A shape which can be intersected by a ray.