13CAD
CAD-like software based on C++, Qt and VTK.
 All Classes Files Functions Variables Friends
Functions
vector3d.cpp File Reference

Source file for the Vector3D class. More...

#include "vector3d.h"
#include <cmath>

Functions

bool operator== (const Vector3D &lhsVector, const Vector3D &rhsVector)
 
Vector3D operator* (double scalar, Vector3D v)
 
std::ostream & operator<< (std::ostream &os, Vector3D &v)
 

Detailed Description

Source file for the Vector3D class.

Author
Riccardo Di Maio
Version
1.0 08/11/18

Function Documentation

Vector3D operator* ( double  scalar,
Vector3D  v 
)

Scalar multiplication - vector on rhs

std::ostream& operator<< ( std::ostream &  os,
Vector3D v 
)

Output Vector3D

bool operator== ( const Vector3D lhsVector,
const Vector3D rhsVector 
)

Equality operation