|
Este artigo foi traduzido por máquina. Coloque o ponteiro do mouse sobre as frases do artigo para ver o texto original. Mais informações.
|
Tradução
Original
|
Estrutura Vector3D
Namespace: System.Windows.Media.Media3D
Assembly: PresentationCore (em PresentationCore.dll)
XMLNS para XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
O tipo Vector3D expõe os membros a seguir.
| Nome | Descrição | |
|---|---|---|
![]() | Length | |
![]() | LengthSquared | |
![]() | X | |
![]() | Y | |
![]() | Z |
| Nome | Descrição | |
|---|---|---|
![]() ![]() | Add(Vector3D, Point3D) | |
![]() ![]() | Add(Vector3D, Vector3D) | |
![]() ![]() | AngleBetween | |
![]() ![]() | CrossProduct | |
![]() ![]() | Divide | |
![]() ![]() | DotProduct | |
![]() | Equals(Object) | |
![]() | Equals(Vector3D) | |
![]() ![]() | Equals(Vector3D, Vector3D) | |
![]() | GetHashCode | |
![]() | GetType | |
![]() ![]() | Multiply(Double, Vector3D) | |
![]() ![]() | Multiply(Vector3D, Double) | |
![]() ![]() | Multiply(Vector3D, Matrix3D) | |
![]() | Negate | |
![]() | Normalize | |
![]() ![]() | Parse | |
![]() ![]() | Subtract(Vector3D, Point3D) | |
![]() ![]() | Subtract(Vector3D, Vector3D) | |
![]() | ToString() | |
![]() | ToString(IFormatProvider) |
| Nome | Descrição | |
|---|---|---|
![]() ![]() | Addition(Vector3D, Point3D) | |
![]() ![]() | Addition(Vector3D, Vector3D) | |
![]() ![]() | Division | |
![]() ![]() | Equality | |
![]() ![]() | Explicit(Vector3D to Size3D) | |
![]() ![]() | Explicit(Vector3D to Point3D) | |
![]() ![]() | Inequality | |
![]() ![]() | Multiply(Double, Vector3D) | |
![]() ![]() | Multiply(Vector3D, Double) | |
![]() ![]() | Multiply(Vector3D, Matrix3D) | |
![]() ![]() | Subtraction(Vector3D, Point3D) | |
![]() ![]() | Subtraction(Vector3D, Vector3D) | |
![]() ![]() | UnaryNegation |
| Nome | Descrição | |
|---|---|---|
![]() ![]() | IFormattable.ToString |
// Subtracts two 3-D Vectors using the Subtract method and - // Declaring vector1 and initializing x,y,z values Vector3D vector1 = new Vector3D(20, 30, 40); // Declaring vector2 without initializing x,y,z values Vector3D vector2 = new Vector3D(); // Assigning values to vector2 vector2.X = 45; vector2.Y = 70; vector2.Z = 80; // Subtracting vectors using overload - operator Vector3D vectorResult1 = new Vector3D(); vectorResult1 = vector1 - vector2; // vectorResult1 is equal to (-25, -40, -40) // Subtracting vectors using static Subtract method Vector3D vectorResult2 = new Vector3D(); vectorResult2 = Vector3D.Subtract(vector1, vector2); // vector2 is equal to (-25, -40, -40)
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Função Server Core sem suporte), Windows Server 2008 R2 (Função Server Core com suporte com o SP1 ou posterior, Itanium sem suporte)
O .NET Framework não oferece suporte a todas as versões de cada plataforma. Para obter uma lista das versões com suporte, consulte .Requisitos de sistema do NET Framework.
