alaCarte Maps
Renderer for OpenStreetMap tiles
point.hpp File Reference
#include <vector>
#include <sstream>
#include <boost/archive/text_oarchive.hpp>
#include <boost/archive/text_iarchive.hpp>

Go to the source code of this file.

Classes

class  basic_vector2< T >
 

Macros

#define VECTOR_HPP
 This file is part of alaCarte. More...
 

Typedefs

typedef basic_vector2< coord_tFixedPoint
 
typedef basic_vector2< double > FloatPoint
 
typedef basic_vector2< double > Vector
 

Functions

template<typename T >
basic_vector2< T > operator* (const T f, const basic_vector2< T > &v)
 
template<typename T >
basic_vector2< T > operator/ (const T f, const basic_vector2< T > &v)
 
template<typename T , typename C >
std::basic_istream< C > & operator>> (std::basic_istream< C > &is, basic_vector2< T > &v)
 
template<typename T , typename C >
std::basic_ostream< C > & operator<< (std::basic_ostream< C > &os, const basic_vector2< T > &v)
 

Macro Definition Documentation

#define VECTOR_HPP

This file is part of alaCarte.

alaCarte is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

alaCarte is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with alaCarte. If not, see http://www.gnu.org/licenses/.

Copyright alaCarte 2012-2013 Simon Dreher, Florian Jacob, Tobias Kahlert, Patrick Niklaus, Bernhard Scheirle, Lisa Winter Maintainer: Tobias Kahlert

Definition at line 23 of file point.hpp.

Typedef Documentation

Definition at line 144 of file point.hpp.

typedef basic_vector2<double> FloatPoint

Definition at line 145 of file point.hpp.

typedef basic_vector2<double> Vector

Definition at line 146 of file point.hpp.

Function Documentation

template<typename T >
basic_vector2<T> operator* ( const T  f,
const basic_vector2< T > &  v 
)
inline

Definition at line 111 of file point.hpp.

template<typename T >
basic_vector2<T> operator/ ( const T  f,
const basic_vector2< T > &  v 
)
inline

Definition at line 113 of file point.hpp.

template<typename T , typename C >
std::basic_ostream<C>& operator<< ( std::basic_ostream< C > &  os,
const basic_vector2< T > &  v 
)

Definition at line 137 of file point.hpp.

template<typename T , typename C >
std::basic_istream<C>& operator>> ( std::basic_istream< C > &  is,
basic_vector2< T > &  v 
)
inline

Definition at line 120 of file point.hpp.