geomc 1.0
A c++ linear algebra template library
Loading...
Searching...
No Matches
shape_traits< Shape > Struct Template Reference

Informational class which describes its template parameter shape. More...

#include <geomc/shape/Shape.h>

Static Public Attributes

static constexpr bool is_convex
 
static constexpr bool is_bounded
 
static constexpr bool is_ray_intersectable
 
static constexpr bool has_sdf
 
static constexpr bool is_projectable
 

Detailed Description

template<typename Shape>
struct geom::shape_traits< Shape >

Informational class which describes its template parameter shape.

Member Data Documentation

◆ has_sdf

template<typename Shape>
bool has_sdf
staticconstexpr
Initial value:
=
implements_shape_concept<Shape, SdfEvaluable>::value

◆ is_bounded

template<typename Shape>
bool is_bounded
staticconstexpr
Initial value:
=
implements_shape_concept<Shape, Bounded>::value

◆ is_convex

template<typename Shape>
bool is_convex
staticconstexpr
Initial value:
=
implements_shape_concept<Shape, Convex>::value

◆ is_projectable

template<typename Shape>
bool is_projectable
staticconstexpr
Initial value:
=
implements_shape_concept<Shape, Projectable>::value

◆ is_ray_intersectable

template<typename Shape>
bool is_ray_intersectable
staticconstexpr
Initial value:
=
implements_shape_concept<Shape, RayIntersectable>::value

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