The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Vector.Division Operator (Vector, Double)
.NET Framework (current version)
Divides the specified vector by the specified scalar and returns the resulting vector.
WindowsBase (in WindowsBase.dll)
public static Vector operator /(
The following example shows how to use this operator (/) to divide a Vector structure by a scalar.
private Vector overloadedDivisionOperatorExample()
Vector vector1 = new Vector(20, 30);
Vector vectorResult = new Vector();
Double scalar1 = 75;
// Divide vector by scalar.
// vectorResult is approximately equal to (0.26667,0.4)
vectorResult = vector1 / scalar1;
Return to top
Available since 3.0