Skip to content

Vector2d.Multiply (Vector2d, Double)

Public Operator

Multiplies a vector by a number, having the effect of scaling it.

Namespace: Rhino.Geometry

Assembly: RhinoCommon (in RhinoCommon.dll)

**Since:**6.0

Syntax

public static Vector2d operator *(
Vector2d vector,
double t
)

Parameters

vector

Type: Rhino.Geometry.Vector2d
A vector.

t

Type:System.Double
A number.

Return Value

Type: Vector2d
A new vector that is the original vector coordinate-wise multiplied by t.