# Vector3D.Divide(Vector3D, Double)Vector3D.Divide(Vector3D, Double)Vector3D.Divide(Vector3D, Double)Vector3D.Divide(Vector3D, Double) Method

## Definition

Dividiert die angegebene Vector3D Struktur mit dem angegebenen Skalar und gibt das Ergebnis als eine Vector3D.Divides the specified Vector3D structure by the specified scalar and returns the result as a Vector3D.

``````public:
static System::Windows::Media::Media3D::Vector3D Divide(System::Windows::Media::Media3D::Vector3D vector, double scalar);``````
``public static System.Windows.Media.Media3D.Vector3D Divide (System.Windows.Media.Media3D.Vector3D vector, double scalar);``
``static member Divide : System.Windows.Media.Media3D.Vector3D * double -> System.Windows.Media.Media3D.Vector3D``
``Public Shared Function Divide (vector As Vector3D, scalar As Double) As Vector3D``

#### Parameter

vector
Vector3D Vector3D Vector3D Vector3D

Die Vector3D Struktur geteilt werden soll.The Vector3D structure to be divided.

scalar
Double Double Double Double

Der Skalar, Dividieren `vector` durch.The scalar to divide `vector` by.

#### Gibt zurück

Das Ergebnis der Division von `vector` durch `scalar`.The result of dividing `vector` by `scalar`.

## Beispiele

Das folgende Beispiel zeigt, wie Sie unterteilen eine Vector3D Struktur mit einem Skalar.The following example shows how to divide a Vector3D structure by a scalar.

``````// Divides a Vector3D by a Scalar using the overloaded / operator.
// Returns a Vector3D.

Vector3D vector1 = new Vector3D(20, 30, 40);
Vector3D vectorResult = new Vector3D();
Double scalar1 = 75;

vectorResult = vector1 / scalar1;
// vectorResult is approximately equal to (0.26667, 0.4, 0.53333)
``````
``````' Divides a Vector3D by a Scalar using the overloaded / operator.
' Returns a Vector3D.

Dim vector1 As New Vector3D(20, 30, 40)
Dim vectorResult As New Vector3D()
Dim scalar1 As Double = 75

vectorResult = vector1 / scalar1
' vectorResult is approximately equal to (0.26667, 0.4, 0.53333)
``````