Click or drag to resize

VectorMultiply Operator (Double, Vector)

Multiply a vector by a scalar.

Namespace:  AGI.Foundation.Geometry
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public static Vector operator *(
	double factor,
	Vector vector
)

Parameters

factor
Type: SystemDouble
The scale factor.
vector
Type: AGI.Foundation.GeometryVector
The vector to scale.

Return Value

Type: Vector
A new vector representing the old vector multiplied by the given factor.
See Also