# Point4D Point4D Point4D Point4D Struct

## Definition

Represents an x-, y-, z-, and w-coordinate point in world space used in performing transformations with non-affine 3-D matrices.

### In this article

`public value class Point4D : IFormattable`

```
[System.ComponentModel.TypeConverter(typeof(System.Windows.Media.Media3D.Point4DConverter))]
[System.Serializable]
public struct Point4D : IFormattable
```

```
type Point4D = struct
interface IFormattable
```

```
Public Structure Point4D
Implements IFormattable
```

- Inheritance

- Attributes

- Implements

## Remarks

In XAML, the delimiter between the values of a Point4D can be either a comma or a space.

Some cultures might use the comma character as the decimal delimiter instead of the period character. XAML processing for invariant culture defaults to en-US in most XAML processor implementations, and expects the period to be the decimal delimiter. You should avoid using the comma character as the decimal delimiter if specifying a Point4D in XAML, because that will clash with the string type conversion of a Point4D attribute value into its components.

### XAML Attribute Usage

```
<object property="x,y,z,w"/>
-or-
<object property="x y z w"/>
```

### XAML Values

*x*

The X component of this Point4D structure.

*y*

The Y component of this Point4D structure.

*z*

The Z component of this Point4D structure.

*w*

The W component of this Point4D structure.

## Constructors

Point4D(Double, Double, Double, Double) Point4D(Double, Double, Double, Double) Point4D(Double, Double, Double, Double) Point4D(Double, Double, Double, Double) |
Initializes a new instance of a Point4D structure. |

## Properties

W W W W | |

X X X X | |

Y Y Y Y | |

Z Z Z Z |

## Methods

## Operators

Addition(Point4D, Point4D) Addition(Point4D, Point4D) Addition(Point4D, Point4D) Addition(Point4D, Point4D) | |

Equality(Point4D, Point4D) Equality(Point4D, Point4D) Equality(Point4D, Point4D) Equality(Point4D, Point4D) |
Compares two Point4D structures for equality. |

Inequality(Point4D, Point4D) Inequality(Point4D, Point4D) Inequality(Point4D, Point4D) Inequality(Point4D, Point4D) |
Compares two Point4D structures for inequality. |

Multiply(Point4D, Matrix3D) Multiply(Point4D, Matrix3D) Multiply(Point4D, Matrix3D) Multiply(Point4D, Matrix3D) |
Transforms the specified Point4D structure by the specified Matrix3D structure. |

Subtraction(Point4D, Point4D) Subtraction(Point4D, Point4D) Subtraction(Point4D, Point4D) Subtraction(Point4D, Point4D) |
Subtracts a Point4D structure from a Point4D structure and returns the result as a Point4D structure. |

## Explicit Interface Implementations

IFormattable.ToString(String, IFormatProvider) IFormattable.ToString(String, IFormatProvider) IFormattable.ToString(String, IFormatProvider) IFormattable.ToString(String, IFormatProvider) |
This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. For a description of this member, see ToString(String, IFormatProvider). |