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