Point4D 結構
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表世界空間中用來執行非 affine 3D 矩陣之轉換的 x、y-、z-和 w 座標點。
public value class Point4D : IFormattable
[System.ComponentModel.TypeConverter(typeof(System.Windows.Media.Media3D.Point4DConverter))]
[System.Serializable]
public struct Point4D : IFormattable
[System.ComponentModel.TypeConverter(typeof(System.Windows.Media.Media3D.Point4DConverter))]
public struct Point4D : IFormattable
[<System.ComponentModel.TypeConverter(typeof(System.Windows.Media.Media3D.Point4DConverter))>]
[<System.Serializable>]
type Point4D = struct
interface IFormattable
[<System.ComponentModel.TypeConverter(typeof(System.Windows.Media.Media3D.Point4DConverter))>]
type Point4D = struct
interface IFormattable
Public Structure Point4D
Implements IFormattable
- 繼承
- 屬性
- 實作
備註
在 XAML 中,a Point4D 值之間的分隔符可以是逗號或空格。
有些文化可能會用逗號作為小數分隔符,而不是時代字元。 大多數 XAML 處理器實作中,不變文化的 XAML 處理預設為 en-US,且預期週期為十進位分隔符。 如果在 XAML 中指定 a Point4D ,應該避免用逗號作為十進位分隔符,因為這會和字串類型將屬性值轉換 Point4D 成其組成部分的過程產生衝突。
XAML 屬性使用方式
<object property="x,y,z,w"/>
-or-
<object property="x y z w"/>
XAML 值
建構函式
| 名稱 | Description |
|---|---|
| Point4D(Double, Double, Double, Double) |
初始化結構的新實例 Point4D 。 |
屬性
| 名稱 | Description |
|---|---|
| W | |
| X | |
| Y | |
| Z |
方法
| 名稱 | Description |
|---|---|
| Add(Point4D, Point4D) | |
| Equals(Object) |
判斷指定的Object結構是否為Point4D結構,以及指定的 、 X、 Y、 及Z性質W是否Object等於X該Y結構的 、 Z、 WPoint4D 、 及 性質。 |
| Equals(Point4D, Point4D) |
比較兩種 Point4D 平等結構。 |
| Equals(Point4D) |
比較兩種 Point4D 平等結構。 |
| GetHashCode() |
會回傳此 Point4D 結構的雜湊碼。 |
| Multiply(Point4D, Matrix3D) | |
| Offset(Double, Double, Double, Double) |
將 Point4D 結構轉換為指定金額。 |
| Parse(String) | |
| Subtract(Point4D, Point4D) | |
| ToString() | |
| ToString(IFormatProvider) |
運算子
| 名稱 | Description |
|---|---|
| Addition(Point4D, Point4D) | |
| Equality(Point4D, Point4D) |
比較兩種 Point4D 平等結構。 |
| Inequality(Point4D, Point4D) |
比較兩種 Point4D 不平等結構。 |
| Multiply(Point4D, Matrix3D) | |
| Subtraction(Point4D, Point4D) |
明確介面實作
| 名稱 | Description |
|---|---|
| IFormattable.ToString(String, IFormatProvider) |
此成員支援 Windows Presentation Foundation(WPF)基礎架構,並非直接從您的程式碼中使用。 關於此成員的描述,請參見 ToString(String, IFormatProvider)。 |