Table of Contents

Method Multiply

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

Multiply(XVector, double)

Multiplies the specified vector by the specified scalar and returns the resulting vector.

public static XVector Multiply(XVector vector, double scalar)

Parameters

vector XVector

The vector to multiply.

scalar double

The scalar to multiply.

Returns

XVector

Multiply(double, XVector)

Multiplies the specified scalar by the specified vector and returns the resulting Vector.

public static XVector Multiply(double scalar, XVector vector)

Parameters

scalar double

The scalar to multiply.

vector XVector

The vector to multiply.

Returns

XVector

Multiply(XVector, XMatrix)

Transforms the coordinate space of the specified vector using the specified Matrix.

public static XVector Multiply(XVector vector, XMatrix matrix)

Parameters

vector XVector

The vector to transform.

matrix XMatrix

The transformation to apply to vector.

Returns

XVector

Multiply(XVector, XVector)

Calculates the dot product of the two specified vectors and returns the result as a Double.

public static double Multiply(XVector vector1, XVector vector2)

Parameters

vector1 XVector

The first vector to multiply.

vector2 XVector

The second vector structure to multiply.

Returns

double