Computes the dot product a*b of two 3d vectors.
Namespace:
ceometric.VectorGeometryAssembly: ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.6.0.0 (1.6.0.0)
Syntax
| C# |
|---|
public static double Dot( Vector3d a, Vector3d b ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function Dot ( _ a As Vector3d, _ b As Vector3d _ ) As Double |
| Visual C++ |
|---|
public: static double Dot( Vector3d^ a, Vector3d^ b ) |
Parameters
- a
- Type: ceometric.VectorGeometry..::.Vector3d
A first 3d vector.
- b
- Type: ceometric.VectorGeometry..::.Vector3d
A second 3d vector.
Return Value
Returns the dot a*b product of two 3d vectors.
Remarks
You may alternatively use the '*' operator to compute the dot product.