Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRageMath.Vector3D.Dot

Morten Aune Lyrstad edited this page Oct 10, 2019 · 18 revisions

IndexNamespace IndexVector3D

Summary

public static double Dot(Vector3D vector1, Vector3D vector2)

Calculates the dot product of two vectors. If the two vectors are unit vectors, the dot product returns a doubleing point value between -1 and 1 that can be used to determine some properties of the angle between two vectors. For example, it can show whether the vectors are orthogonal, parallel, or have an acute or obtuse angle between them.

Returns

double

Parameters

Summary

public static double Dot(Vector3D vector1, Vector3 vector2)

Returns

double

Parameters

Summary

public static void Dot(ref Vector3D vector1, ref Vector3D vector2, out double result)

Calculates the dot product of two vectors and writes the result to a user-specified variable. If the two vectors are unit vectors, the dot product returns a doubleing point value between -1 and 1 that can be used to determine some properties of the angle between two vectors. For example, it can show whether the vectors are orthogonal, parallel, or have an acute or obtuse angle between them.

Parameters

Summary

public static void Dot(ref Vector3D vector1, ref Vector3 vector2, out double result)

Parameters

Summary

public static void Dot(ref Vector3 vector1, ref Vector3D vector2, out double result)

Parameters

Summary

public double Dot(Vector3D v)

Returns

double

Parameters

Summary

public double Dot(Vector3 v)

Returns

double

Parameters

Summary

public double Dot(ref Vector3D v)

Returns

double

Parameters

Clone this wiki locally