Operator operator *
operator *(double, Vector3D)
Multiplies a double value and a vector.
Declaration
public static Vector3D operator *(double inD, Vector3D inVector)
Parameters
| Type | Name | Description |
|---|---|---|
| double | inD | Left hand side double. |
| Vector3D | inVector | Right hand side vector. |
Returns
| Type | Description |
|---|---|
| Vector3D | Scaled vector. |
operator *(Vector3D, double)
Multiplies a vector and a double value.
Declaration
public static Vector3D operator *(Vector3D inVector, double inD)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3D | inVector | Left hand side vector. |
| double | inD | Right hand side double. |
Returns
| Type | Description |
|---|---|
| Vector3D | Scaled vector. |
operator *(Vector3D, Vector3D)
Computes the dot product of two vectors.
Declaration
public static double operator *(Vector3D inVector1, Vector3D inVector2)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3D | inVector1 | Left hand side vector. |
| Vector3D | inVector2 | Right hand side vector. |
Returns
| Type | Description |
|---|---|
| double | Vectors' dot product. |