DimensionType

Get the numeric type used to measure a shape's dimensions.

Examples

static assert(is(DimensionType!seg2i          == int));
static assert(is(DimensionType!triangle3d     == double));
static assert(is(DimensionType!sphere2d       == double));
static assert(is(DimensionType!ray3f          == float));
static assert(is(DimensionType!planed         == double));
static assert(is(DimensionType!(Frustum!real) == real));

Meta