Click or drag to resize

Vector3dMultiply Method (Double, Vector3d)

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 Vector3d Multiply(
	double t,
	Vector3d vector
)

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.9
See Also