This documentation is archived and is not being maintained.

Vector3D Members

Represents a displacement in 3-D space.

The following tables list the members exposed by the Vector3D type.

  Name Description
Public method Vector3D Initializes a new instance of a Vector3D structure.
Top

  Name Description
Public property Length Gets the length of this Vector3D structure.
Public property LengthSquared Gets the square of the length of this Vector3D structure.
Public property X Gets or sets the X component of this Vector3D structure.
Public property Y Gets or sets the Y component of this Vector3D structure.
Public property Z Gets or sets the Z component of this Vector3D structure.
Top

(see also Protected Methods )
  Name Description
Public method Static Add Overloaded. Adds a Vector3D structure to a Point3D structure or to another Vector3D structure.
Public method Static AngleBetween Retrieves the angle required to rotate the first specified Vector3D structure into the second specified Vector3D structure.
Public method Static CrossProduct Calculates the cross product of two Vector3D structures.
Public method Static Divide Divides the specified Vector3D structure by the specified scalar and returns the result as a Vector3D.
Public method Static DotProduct Calculates the dot product of two Vector3D structures.
Public method Equals Overloaded. Overridden. Compares two Vector3D structures for equality. Note: Because the value of Doubles can lose precision when arithmetic operations are performed on them, a comparison between two Doubles that are logically equal might fail.
Public method GetHashCode Overridden. Gets a hash code for this Vector3D structure.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static Multiply Overloaded. Multiplies the specified Vector3D structure by the specified Double or Matrix and returns the result.
Public method Negate Negates a Vector3D structure.
Public method Normalize Normalizes the specified Vector3D structure.
Public method Static op_Addition Overloaded. Adds a Vector3D structure to a Point3D structure or to another Vector3D structure.
Public method Static op_Division Divides the specified Vector3D structure by the specified scalar and returns the result as a Vector3D.
Public method Static op_Equality Compares two Vector3D structures for equality.
Public method Static op_Explicit Overloaded. Converts a Vector3D structure into a Point3D structure or a Size3D.
Public method Static op_Inequality Compares two Vector3D structures for inequality.
Public method Static op_Multiply Overloaded. Multiplies the specified Vector3D structure by the specified Double or Matrix and returns the result.
Public method Static op_Subtraction Overloaded. Subtracts a Vector3D structure or a Point3D structure from a Vector3D structure.
Public method Static op_UnaryNegation Negates a Vector3D structure.
Public method Static Parse Converts a String representation of a 3-D vector into the equivalent Vector3D structure.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Static Subtract Overloaded. Subtracts a Vector3D structure or a Point3D structure from a Vector3D structure.
Public method ToString Overloaded. Overridden. Creates a String representation of this Vector3D structure.
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

  Name Description
Explicit interface implementation Method System.IFormattable.ToString This member is part of the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly by your code.
Top
Show: