Vec2D Struct Reference

Vector in 2D, scope: Grid2D. More...

#include <aigrid.h>

List of all members.

Public Member Functions

 Vec2D (double x, double y)
 constructor by x and y
void operator= (const Vec2D &vec2D)
 assignment e.g. vec1 = vec2
double operator * (const Vec2D &vec2D) const
 arithmetic scalar product, e.g. val = vec1 * vec2
const Vec2Doperator * (double val) const
 arithmetic vector multiplication, e.g. vec1 = val * vec2 (also working: vec1 = vec2 * val; )
const Vec2Doperator+ (const Vec2D &vec2D) const
 arithmetic addition, e.g. vec1 = vec2 + vec3
const Vec2Doperator- (const Vec2D &vec2D) const
 arithmetic subtraction, e.g. vec1 = vec2 - vec3


Detailed Description

Vector in 2D, scope: Grid2D.


Generated on Thu Jul 29 10:53:07 2010 for AiGrid by  doxygen 1.4.6-NO