Vector2dMultiply Method (Double, Vector2d) |
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)
Syntaxpublic static Vector2d Multiply(
double t,
Vector2d vector
)
Public Shared Function Multiply (
t As Double,
vector As Vector2d
) As Vector2d
Parameters
- t
- Type: SystemDouble
A number. - vector
- Type: Rhino.GeometryVector2d
A vector.
Return Value
Type:
Vector2dA new vector that is the original vector coordinatewise multiplied by t.
Version InformationRhino for Windows
Supported in: 6.8
See Also