Cortex
10.0.0-a4
|
#include <DimensionTraits.h>
Public Types | |
typedef void | VectorType |
typedef void | BoxType |
typedef void | PlaneType |
typedef void | LineSegmentType |
Public Member Functions | |
BOOST_STATIC_ASSERT (sizeof(T)==0) | |
A simple traits class that can be used to derive appropriate types for storing vectors, boxes, etc, in, given the dimension "N" of the space and numeric base type "T".
For example, DimensionTraits< 3, float >::VectorType is defined to be Imath::V3f
Any combinations which are meaningless (e.g. a 1-d box) are defined as void.