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)
Since: 5.0
Syntax public static Vector3d Multiply(
double t,
Vector3d vector
)
Public Shared Function Multiply (
t As Double,
vector As Vector3d
) As Vector3d
Parameters
- t
- Type: SystemDouble
A number. - vector
- Type: Rhino.GeometryVector3d
A vector.
Return Value
Type:
Vector3dA new vector that is the original vector coordinate-wise multiplied by t.
See Also