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)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

[<Sealed>]
[<SerializableAttribute>]
[<TypeConverterAttribute(typeof(Point4DConverter))>]
type Point4D =  
    struct 
        interface IFormattable 
    end
<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.

The Point4D type exposes the following members.

  NameDescription
Public methodPoint4DInitializes a new instance of a Point4D structure.
Top

  NameDescription
Public propertyWGets or sets the W component of this Point4D structure.
Public propertyXGets or sets the X component of this Point4D structure.
Public propertyYGets or sets the Y component of this Point4D structure.
Public propertyZGets or sets the Z component of this Point4D structure.
Top

  NameDescription
Public methodStatic memberAddAdds a Point4D structure to a Point4D.
Public methodEquals(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).)
Public methodEquals(Point4D)Compares two Point4D structures for equality.
Public methodStatic memberEquals(Point4D, Point4D)Compares two Point4D structures for equality.
Public methodGetHashCodeReturns a hash code for this Point4D structure. (Overrides ValueType.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberMultiplyTransforms the specified Point4D structure by the specified Matrix3D structure.
Public methodOffsetTranslates the Point4D structure by the specified amounts.
Public methodStatic memberParseConverts a String representation of a point4D structure into the equivalent Point4D structure.
Public methodStatic memberSubtractSubtracts a Point4D structure from a Point4D structure.
Public methodToString()Creates a String representation of this Point4D structure. (Overrides ValueType.ToString().)
Public methodToString(IFormatProvider)Creates a String representation of this Point4D structure.
Top

  NameDescription
Public operatorStatic memberAdditionAdds a Point4D structure to a Point4D.
Public operatorStatic memberEqualityCompares two Point4D structures for equality.
Public operatorStatic memberInequalityCompares two Point4D structures for inequality.
Public operatorStatic memberMultiplyTransforms the specified Point4D structure by the specified Matrix3D structure.
Public operatorStatic memberSubtractionSubtracts a Point4D structure from a Point4D structure and returns the result as a Point4D structure.
Top

  NameDescription
Explicit interface implemetationPrivate methodIFormattable.ToStringThis 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.
Top

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft