Vector2d.Multiply Method (Vector2d, Double)

Vector2dMultiply Method (Vector2d, Double)

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

(Provided for languages that do not support operator overloading. You can use the * operator otherwise)

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Vector2d Multiply(
	Vector2d vector,
	double t
)
Public Shared Function Multiply ( 
	vector As Vector2d,
	t As Double
) As Vector2d

Parameters

vector
Type: Rhino.GeometryVector2d
A vector.
t
Type: SystemDouble
A number.

Return Value

Type: Vector2d
A new vector that is the original vector coordinatewise multiplied by t.
Version Information

Rhino for Windows

Supported in: 6.8
See Also