Point.inl File Reference

Provides basic functionality for a homogenous Point. More...

#include <iostream>

Go to the source code of this file.

Functions

template<unsigned N, typename T>
Point< N, T > operator* (const T &scale, const Point< N, T > &rhs)
template<unsigned N, typename T>
Point< N, T > operator- (const Point< N, T > &rhs)
template<unsigned N, typename T>
std::ostream & operator<< (std::ostream &os, const Point< N, T > &v)
 Prints a Point to an output stream.


Detailed Description

Provides basic functionality for a homogenous Point.

Author:
Travis Fischer (fisch0920@gmail.com)
Date:
Fall 2008

Definition in file Point.inl.


Function Documentation

template<unsigned N, typename T>
Point<N, T> operator* ( const T &  scale,
const Point< N, T > &  rhs 
) [inline]

Returns:
the N-length vector resulting from multiplying a scalar by an N-length point

Definition at line 283 of file Point.inl.

template<unsigned N, typename T>
Point<N, T> operator- ( const Point< N, T > &  rhs  )  [inline]

Returns:
(-1) * rhs, which is a negated version of the original right hand side point

Definition at line 292 of file Point.inl.

template<unsigned N, typename T>
std::ostream& operator<< ( std::ostream &  os,
const Point< N, T > &  v 
) [inline]

Prints a Point to an output stream.

Definition at line 299 of file Point.inl.


Generated on 28 Feb 2009 for Milton by doxygen 1.5.6