Vector3f.Multiply Method (Vector3f, Single)

Vector3fMultiply Method (Vector3f, Single)

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)
Since: 5.0
Syntax
public static Vector3f Multiply(
	Vector3f vector,
	float t
)
Public Shared Function Multiply ( 
	vector As Vector3f,
	t As Single
) As Vector3f

Parameters

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

Return Value

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