分享方式:


double_3 類別

表示三個雙精度浮點的短向量。

語法

class double_3;

成員

公用 Typedefs

名稱 描述
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

Namespace: 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
初始化的值。

_其他
用來初始化的物件。

size

static const int size = 3;

另請參閱

Concurrency::graphics 命名空間