Wheatley  20150125
A simple C++ vector library
Wheatley Namespace Reference

Classes

class  CVector
 

Functions

double dotProduct (CVector Vector1, CVector Vector2)
 

Detailed Description

The namespace for all the items in this library

Function Documentation

double Wheatley::dotProduct ( CVector  Vector1,
CVector  Vector2 
)

returns the dot product of two two dimensional cartesian vectors by adding the products of their respective x and y components

Parameters
Vector1the first vector
Vector2the second vector
Returns
the dot product of the two vectors