Method Multiply
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
vectorXVectorThe vector to multiply.
scalardoubleThe scalar to multiply.
Returns
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
scalardoubleThe scalar to multiply.
vectorXVectorThe vector to multiply.
Returns
Multiply(XVector, XMatrix)
Transforms the coordinate space of the specified vector using the specified Matrix.
public static XVector Multiply(XVector vector, XMatrix matrix)
Parameters
Returns
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
vector1XVectorThe first vector to multiply.
vector2XVectorThe second vector structure to multiply.
Returns
- double