#include <vector>
#include <string>
#include <iostream>
#include <cmath>
#include <iomanip>
Go to the source code of this file.
|
Vector2D | csci3081::to2D (Vector3D &) |
| This function converts a Vector3D instance to a Vector2D. More...
|
|
Vector3D | csci3081::to3D (Vector2D &) |
| This function converts a Vector2D instance to a Vector3D. More...
|
|
Vector3D | csci3081::CrossProduct (const Vector &v1, const Vector &v2) |
| This function computes the cross product between two vector objects. More...
|
|
- Copyright
- Lin Huynh, All rights reserved.
◆ CrossProduct()
Vector3D csci3081::CrossProduct |
( |
const Vector & |
v1, |
|
|
const Vector & |
v2 |
|
) |
| |
This function computes the cross product between two vector objects.
- Parameters
-
[in] | v1 | Vector object |
[in] | v2 | Vector object |
- Returns
- Vector3D object
◆ to2D()
This function converts a Vector3D instance to a Vector2D.
- Parameters
-
- Returns
- Vector2D object
◆ to3D()
This function converts a Vector2D instance to a Vector3D.
- Parameters
-
- Returns
- Vector3D object