Point4D Structure

 

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

Namespace:   System.Windows.Media.Media3D
Assembly:  PresentationCore (in PresentationCore.dll)

<SerializableAttribute>
<TypeConverterAttribute(GetType(Point4DConverter))>
Public Structure Point4D
	Implements IFormattable

NameDescription
System_CAPS_pubmethodPoint4D(Double, Double, Double, Double)

Initializes a new instance of a Point4D structure.

NameDescription
System_CAPS_pubpropertyW

Gets or sets the W component of this Point4D structure.

System_CAPS_pubpropertyX

Gets or sets the X component of this Point4D structure.

System_CAPS_pubpropertyY

Gets or sets the Y component of this Point4D structure.

System_CAPS_pubpropertyZ

Gets or sets the Z component of this Point4D structure.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAdd(Point4D, Point4D)

Adds a Point4D structure to a Point4D.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified Object is a Point4D structure and if the X, Y, Z, and W properties of the specified Object are equal to the X, Y, Z, and W properties of this Point4D structure.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodEquals(Point4D)

Compares two Point4D structures for equality.

System_CAPS_pubmethodSystem_CAPS_staticEquals(Point4D, Point4D)

Compares two Point4D structures for equality.

System_CAPS_pubmethodGetHashCode()

Returns a hash code for this Point4D structure. (Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticMultiply(Point4D, Matrix3D)

Transforms the specified Point4D structure by the specified Matrix3D structure.

System_CAPS_pubmethodOffset(Double, Double, Double, Double)

Translates the Point4D structure by the specified amounts.

System_CAPS_pubmethodSystem_CAPS_staticParse(String)

Converts a String representation of a point4D structure into the equivalent Point4D structure.

System_CAPS_pubmethodSystem_CAPS_staticSubtract(Point4D, Point4D)

Subtracts a Point4D structure from a Point4D structure.

System_CAPS_pubmethodToString()

Creates a String representation of this Point4D structure. (Overrides ValueType.ToString().)

System_CAPS_pubmethodToString(IFormatProvider)

Creates a String representation of this Point4D structure.

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticAddition(Point4D, Point4D)

Adds a Point4D structure to a Point4D.

System_CAPS_puboperatorSystem_CAPS_staticEquality(Point4D, Point4D)

Compares two Point4D structures for equality.

System_CAPS_puboperatorSystem_CAPS_staticInequality(Point4D, Point4D)

Compares two Point4D structures for inequality.

System_CAPS_puboperatorSystem_CAPS_staticMultiply(Point4D, Matrix3D)

Transforms the specified Point4D structure by the specified Matrix3D structure.

System_CAPS_puboperatorSystem_CAPS_staticSubtraction(Point4D, Point4D)

Subtracts a Point4D structure from a Point4D structure and returns the result as a Point4D structure.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIFormattable.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.

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.

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

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.

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: