Multiplies a scalar and a 3d vector.

Namespace:  ceometric.VectorGeometry
Assembly:  ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)

Syntax

C#
public static Vector3d operator *(
	double scalar,
	Vector3d vector
)
Visual Basic (Declaration)
Public Shared Operator * ( _
	scalar As Double, _
	vector As Vector3d _
) As Vector3d
Visual C++
public:
static Vector3d^ operator *(
	double scalar, 
	Vector3d^ vector
)

Parameters

scalar
Type: System..::.Double
A double precision value.
vector
Type: ceometric.VectorGeometry..::.Vector3d
A 3d vector.

Return Value

Returns the result of the multiplication of a scalar and a 3d vector.

Remarks

Multiplying a scalar and a vector means multiplying each coordinate of vector with scalar.

See Also