Vector3d.Multiply Operator (Double, Vector3d)

Vector3dMultiply Operator (Double, Vector3d)

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

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Vector3d operator *(
	double t,
	Vector3d vector
)
Public Shared Operator * ( 
	t As Double,
	vector As Vector3d
) As Vector3d

Parameters

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

Return Value

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

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also