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.

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

Gets or sets the W component of this Point4D structure.

X X X X

Gets or sets the X component of this Point4D structure.

Y Y Y Y

Gets or sets the Y component of this Point4D structure.

Z Z Z Z

Gets or sets the Z component of this Point4D structure.

Methods

Add(Point4D, Point4D) Add(Point4D, Point4D) Add(Point4D, Point4D) Add(Point4D, Point4D)

Adds a Point4D structure to a Point4D.

Equals(Object) Equals(Object) Equals(Object) Equals(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.

Equals(Point4D) Equals(Point4D) Equals(Point4D) Equals(Point4D)

Compares two Point4D structures for equality.

Equals(Point4D, Point4D) Equals(Point4D, Point4D) Equals(Point4D, Point4D) Equals(Point4D, Point4D)

Compares two Point4D structures for equality.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Returns a hash code for this Point4D structure.

Multiply(Point4D, Matrix3D) Multiply(Point4D, Matrix3D) Multiply(Point4D, Matrix3D) Multiply(Point4D, Matrix3D)

Transforms the specified Point4D structure by the specified Matrix3D structure.

Offset(Double, Double, Double, Double) Offset(Double, Double, Double, Double) Offset(Double, Double, Double, Double) Offset(Double, Double, Double, Double)

Translates the Point4D structure by the specified amounts.

Parse(String) Parse(String) Parse(String) Parse(String)

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

Subtract(Point4D, Point4D) Subtract(Point4D, Point4D) Subtract(Point4D, Point4D) Subtract(Point4D, Point4D)

Subtracts a Point4D structure from a Point4D structure.

ToString() ToString() ToString() ToString()

Creates a String representation of this Point4D structure.

ToString(IFormatProvider) ToString(IFormatProvider) ToString(IFormatProvider) ToString(IFormatProvider)

Creates a String representation of this Point4D structure.

Operators

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

Adds a Point4D structure to a 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).

Applies to