Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Vector3D Methods

The Vector3D type exposes the following members.

  NameDescription
Public method Static member Add(Vector3D, Point3D) Translates the specified Point3D structure by the specified Vector3D structure and returns the result as a Point3D structure.
Public method Static member Add(Vector3D, Vector3D) Adds two Vector3D structures and returns the result as a Vector3D structure.
Public method Static member AngleBetween Retrieves the angle required to rotate the first specified Vector3D structure into the second specified Vector3D structure.
Public method Static member CrossProduct Calculates the cross product of two Vector3D structures.
Public method Static member Divide Divides the specified Vector3D structure by the specified scalar and returns the result as a Vector3D.
Public method Static member DotProduct Calculates the dot product of two Vector3D structures.
Public method Equals(Object) Determines whether the specified object is a Vector3D structure and whether the X, Y, and Z properties of the specified Object are equal to the X, Y, and Z properties of this Vector3D structure. (Overrides ValueType.Equals(Object).)
Public method Equals(Vector3D) Compares two Vector3D structures for equality.
Public method Static member Equals(Vector3D, Vector3D) Compares two Vector3D structures for equality.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Gets a hash code for this Vector3D structure. (Overrides ValueType.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member Multiply(Double, Vector3D) Multiplies the specified scalar by the specified Vector3D structure and returns the result as a Vector3D.
Public method Static member Multiply(Vector3D, Double) Multiplies the specified Vector3D structure by the specified scalar and returns the result as a Vector3D.
Public method Static member Multiply(Vector3D, Matrix3D) Transforms the coordinate space of the specified Vector3D structure using the specified Matrix3D structure.
Public method Negate Negates a Vector3D structure.
Public method Normalize Normalizes the specified Vector3D structure.
Public method Static member Parse Converts a String representation of a 3-D vector into the equivalent Vector3D structure.
Public method Static member Subtract(Vector3D, Point3D) Subtracts a Point3D structure from a Vector3D structure.
Public method Static member Subtract(Vector3D, Vector3D) Subtracts a Vector3D structure from a Vector3D structure.
Public method ToString() Creates a String representation of this Vector3D structure. (Overrides ValueType.ToString().)
Public method ToString(IFormatProvider) Creates a String representation of this Vector3D structure.
Top

  NameDescription
Explicit interface implemetation Private method IFormattable.ToString This member is part of the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly by your code. For a description of this member, see ToString.
Top

Community Additions

ADD
Show:
© 2015 Microsoft