Vector2d.Multiply (Double, Vector2d) Operator

Multiplies the length of the vector with a factor (scales it)
public static Vector2d operator *( 
   double scale
   Vector2d v 
)

Parameters

scale
double

The factor to multiply with

v
Vector2d

The vector to scale.

Return Value

Vector2d

A new vector which has the same angle as the one sent but length multiplied with the factor.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition