Vector3d.Multiply Method (Vector3d, Double)

Vector3dMultiply Method (Vector3d, 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)
Since: 5.0
Syntax
public static Vector3d Multiply(
	Vector3d vector,
	double t
)
Public Shared Function Multiply ( 
	vector As Vector3d,
	t As Double
) As Vector3d

Parameters

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

Return Value

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