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 *(
	Vector3d vector,
	double scalar
)
Visual Basic (Declaration)
Public Shared Operator * ( _
	vector As Vector3d, _
	scalar As Double _
) As Vector3d
Visual C++
public:
static Vector3d^ operator *(
	Vector3d^ vector, 
	double scalar
)

Parameters

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

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