Vector3D.Explicit 运算符
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Explicit(Vector3D to Point3D) | |
Explicit(Vector3D to Size3D) |
Explicit(Vector3D to Point3D)
public:
static explicit operator System::Windows::Media::Media3D::Point3D(System::Windows::Media::Media3D::Vector3D vector);
public static explicit operator System.Windows.Media.Media3D.Point3D (System.Windows.Media.Media3D.Vector3D vector);
static member op_Explicit : System.Windows.Media.Media3D.Vector3D -> System.Windows.Media.Media3D.Point3D
Public Shared Narrowing Operator CType (vector As Vector3D) As Point3D
参数
- vector
- Vector3D
要变换的向量。
返回
转换 vector
的结果。
适用于
Explicit(Vector3D to Size3D)
public:
static explicit operator System::Windows::Media::Media3D::Size3D(System::Windows::Media::Media3D::Vector3D vector);
public static explicit operator System.Windows.Media.Media3D.Size3D (System.Windows.Media.Media3D.Vector3D vector);
static member op_Explicit : System.Windows.Media.Media3D.Vector3D -> System.Windows.Media.Media3D.Size3D
Public Shared Narrowing Operator CType (vector As Vector3D) As Size3D
参数
- vector
- Vector3D
要变换的向量。
返回
转换 vector
的结果。
注解
由于结构Size3D不能为负值,因此使用了结构的绝对值XY和Z属性Vector3D。