vector2D.h File Reference

Header file declaring Vector2D class. More...

#include <iostream>
#include <dlrCommon/exception.h>

Include dependency graph for vector2D.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Classes

class  dlr::numeric::Vector2D
 The Vector2D class represents a real valued 2D vector. More...

Namespaces

namespace  dlr::numeric
 This namespace contains code for 1D, 2D, and 3D arrays, matrices, coordinate transformations, rotation conversions, and much more.

Functions

Vector2D dlr::numeric::operator+ (const Vector2D &vector0, const Vector2D &vector1)
 This operator returns the elementwise sum of two Vector2D instances.
Vector2D dlr::numeric::operator- (const Vector2D &vector0, const Vector2D &vector1)
 This operator returns the elementwise difference of two Vector2D instances.
Vector2D dlr::numeric::operator* (const Vector2D &vector0, const Vector2D &vector1)
 This operator returns the elementwise product of two Vector2D instances.
Vector2D dlr::numeric::operator/ (const Vector2D &vector0, const Vector2D &vector1)
 This operator returns the elementwise dividend of two Vector2D instances.
Vector2D dlr::numeric::operator+ (const Vector2D &vector0, double scalar0)
 This operator adds a scalar and a Vector2D.
Vector2D dlr::numeric::operator- (const Vector2D &vector0, double scalar0)
 This operator subtracts a scalar from a Vector2D.
Vector2D dlr::numeric::operator* (const Vector2D &vector0, double scalar0)
 This operator multiplies a Vector2D by scalar.
Vector2D dlr::numeric::operator/ (const Vector2D &vector0, double scalar0)
 This operator divides a Vector2D by scalar.
bool dlr::numeric::operator== (const Vector2D &vector0, const Vector2D &vector1)
 This operator checks the supplied vectors for equality.
bool dlr::numeric::operator!= (const Vector2D &vector0, const Vector2D &vector1)
 This operator checks the supplied vectors for inequality.
Vector2D dlr::numeric::operator+ (double scalar0, const Vector2D &vector0)
 This operator adds a scalar value to each element of a Vector2D instance.
Vector2D dlr::numeric::operator* (double scalar0, const Vector2D &vector0)
 This operator multiplies a scalar value with each element of a Vector2D instance.
std::ostream & dlr::numeric::operator<< (std::ostream &stream, const Vector2D &vector0)
 This function outputs a text representation of a Vector2D instance to a std::ostream.
std::istream & dlr::numeric::operator>> (std::istream &stream, Vector2D &vector0)
 This function sets the value of a Vector2D instance from a std::istream.


Detailed Description

Header file declaring Vector2D class.

Copyright (C) 2001-2007 David LaRose, dlr@cs.cmu.edu See accompanying file, LICENSE.TXT, for details.

Revision
1097
Date
2009-01-20 01:12:51 -0500 (Tue, 20 Jan 2009)

Definition in file vector2D.h.


Generated on Wed Nov 25 00:42:45 2009 for dlrUtilities Utility Library by  doxygen 1.5.8