Click or drag to resize

Vector2fMultiply Method (Single, Vector2f)

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 Vector2f Multiply(
	float t,
	Vector2f vector
)

Parameters

t
Type: SystemSingle
A number.
vector
Type: Rhino.GeometryVector2f
A vector.

Return Value

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