double_3 类
表示由三个双精度值组成的短向量。
语法
class double_3;
成员
公共 Typedef
名称 | 描述 |
---|---|
value_type |
公共构造函数
名称 | 描述 |
---|---|
double_3 构造函数 | 已重载。 默认构造函数,使用 0 初始化所有元素。 |
公共方法
名称 | 描述 |
---|---|
double_3::get_x | |
double_3::get_xy | |
double_3::get_xyz | |
double_3::get_xz | |
double_3::get_xzy | |
double_3::get_y | |
double_3::get_yx | |
double_3::get_yxz | |
double_3::get_yz | |
double_3::get_yzx | |
double_3::get_z | |
double_3::get_zx | |
double_3::get_zxy | |
double_3::get_zy | |
double_3::get_zyx | |
double_3::ref_b | |
double_3::ref_g | |
double_3::ref_r | |
double_3::ref_x | |
double_3::ref_y | |
double_3::ref_z | |
double_3::set_x | |
double_3::set_xy | |
double_3::set_xyz | |
double_3::set_xz | |
double_3::set_xzy | |
double_3::set_y | |
double_3::set_yx | |
double_3::set_yxz | |
double_3::set_yz | |
double_3::set_yzx | |
double_3::set_z | |
double_3::set_zx | |
double_3::set_zxy | |
double_3::set_zy | |
double_3::set_zyx |
公共运算符
“属性” | 描述 |
---|---|
double_3::operator- | |
double_3::operator-- | |
double_3::operator*= | |
double_3::operator/= | |
double_3::operator++ | |
double_3::operator+= | |
double_3::operator= | |
double_3::operator-= |
公共常量
“属性” | 描述 |
---|---|
size 常量 |
公共数据成员
“属性” | 描述 |
---|---|
double_3::b | |
double_3::bg | |
double_3::bgr | |
double_3::br | |
double_3::brg | |
double_3::g | |
double_3::gb | |
double_3::gbr | |
double_3::gr | |
double_3::grb | |
double_3::r | |
double_3::rb | |
double_3::rbg | |
double_3::rg | |
double_3::rgb | |
double_3::x | |
double_3::xy | |
double_3::xyz | |
double_3::xz | |
double_3::xzy | |
double_3::y | |
double_3::yx | |
double_3::yxz | |
double_3::yz | |
double_3::yzx | |
double_3::z | |
double_3::zx | |
double_3::zxy | |
double_3::zy | |
double_3::zyx |
继承层次结构
double_3
要求
标头:amp_short_vectors.h
命名空间:Concurrency::graphics
double_3
默认构造函数,使用 0 初始化所有元素。
double_3() restrict(amp,
cpu);
double_3(
double _V0,
double _V1,
double _V2) restrict(amp,
cpu);
double_3(
double _V) restrict(amp,
cpu);
double_3(
const double_3& _Other) restrict(amp,
cpu);
explicit inline double_3(
const uint_3& _Other) restrict(amp,
cpu);
explicit inline double_3(
const int_3& _Other) restrict(amp,
cpu);
explicit inline double_3(
const float_3& _Other) restrict(amp,
cpu);
explicit inline double_3(
const unorm_3& _Other) restrict(amp,
cpu);
explicit inline double_3(
const norm_3& _Other) restrict(amp,
cpu);
参数
_V0
要初始化元素 0 的值。
_V1
要初始化元素 1 的值。
_V2
初始化元素 2 的值。
_V
初始化的值。
_Other
用于初始化的对象。
大小
static const int size = 3;