10 instantiations of VectorD
System.Windows.Input.Manipulations (10)
System\Windows\Input\Manipulations\InertiaProcessor2D.cs (4)
617
new
VectorD
(this.initialTranslationX.Velocity, this.initialTranslationY.Velocity));
628
new
VectorD
(this.initialTranslationX.Velocity, this.initialTranslationY.Velocity));
1081
result = new
VectorD
(Math.Abs(baseVector.X * scale),
1086
result = new
VectorD
(ScaleValue(baseVector.X, length), ScaleValue(baseVector.Y, length));
System\Windows\Input\Manipulations\VectorD.cs (6)
87
return new
VectorD
(-vector.x, -vector.y);
182
return new
VectorD
(vector1.x + vector2.x, vector1.y + vector2.y);
232
return new
VectorD
(vector1.x - vector2.x, vector1.y - vector2.y);
260
return new
VectorD
(vector.x * scalar, vector.y * scalar);
271
return new
VectorD
(vector.x * scalar, vector.y * scalar);
282
return new
VectorD
(vector.x / scalar, vector.y / scalar);
27 references to VectorD
System.Windows.Input.Manipulations (27)
System\Windows\Input\Manipulations\InertiaProcessor2D.cs (5)
616
VectorD
desiredTranslationXY = GetAbsoluteVector(this.desiredDisplacement,
627
VectorD
desiredDecelerationXY = GetAbsoluteVector(this.desiredDeceleration,
1070
private static
VectorD
GetAbsoluteVector(double length,
VectorD
baseVector)
1076
VectorD
result;
System\Windows\Input\Manipulations\VectorD.cs (22)
85
public static
VectorD
operator -(
VectorD
vector)
112
public static bool operator !=(
VectorD
vector1,
VectorD
vector2)
124
public static bool operator ==(
VectorD
vector1,
VectorD
vector2)
138
if (o is
VectorD
)
140
return (
VectorD
)o == this;
180
public static
VectorD
operator +(
VectorD
vector1,
VectorD
vector2)
230
public static
VectorD
operator -(
VectorD
vector1,
VectorD
vector2)
258
public static
VectorD
operator *(double scalar,
VectorD
vector)
269
public static
VectorD
operator *(
VectorD
vector, double scalar)
280
public static
VectorD
operator /(
VectorD
vector, double scalar)
331
public static double operator *(
VectorD
vector1,
VectorD
vector2)