Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Tools/Math/Vector2.h File Reference

Contains template class Vector2 of type V. More...

#include <math.h>
#include "Tools/Streams/InOut.h"

Include dependency graph for Vector2.h:

Include dependency graph

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

Included by dependency graph

Go to the source code of this file.

Classes

class  Vector2
 This class represents a 2-vector. More...


Functions

template<class V> Inoperator>> (In &stream, Vector2< V > &vector2)
 Streaming operator that reads a Vector2<V> from a stream.

template<class V> Outoperator<< (Out &stream, const Vector2< V > &vector2)
 Streaming operator that writes a Vector2<V> to a stream.


Detailed Description

Contains template class Vector2 of type V.

Author:
Martin Kallnik

Max Risler

Definition in file Vector2.h.


Function Documentation

template<class V>
In& operator>> In stream,
Vector2< V > &  vector2
 

Streaming operator that reads a Vector2<V> from a stream.

Parameters:
stream The stream from which is read.
vector2 The Vector2<V> object.
Returns:
The stream.

Definition at line 226 of file Vector2.h.

References Vector2< V >::x, and Vector2< V >::y.

template<class V>
Out& operator<< Out stream,
const Vector2< V > &  vector2
 

Streaming operator that writes a Vector2<V> to a stream.

Parameters:
stream The stream to write on.
vector2 The Vector2<V> object.
Returns:
The stream.

Definition at line 239 of file Vector2.h.


Generated on Thu Sep 23 20:02:36 2004 for GT2004 by doxygen 1.3.6