Vector2.hh File Reference
#include <boost/operators.hpp>
#include "TVector2.h"
#include "boca/generic/Debug.hh"
#include "boca/generic/Iterator.hh"
#include "boca/units/Units.hh"
#include "boca/math/Math.hh"
Include dependency graph for Vector2.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  boca::Vector2< Value_ >
 Two dimensional Vector. More...
 
struct  boca::IsVector2< typename >
 
struct  boca::IsVector2< Vector2< Value_ > >
 
struct  boost::range_const_iterator< boca::Vector2< Value_ > >
 
struct  boost::range_mutable_iterator< boca::Vector2< Value_ > >
 

Namespaces

 boca
 Boosted Collider Analysis.
 
 boost
 Boost provides free peer-reviewed portable C++ source libraries.
 

Typedefs

template<typename Value_ >
using boca::OnlyIfNotVector2 = typename std::enable_if< !IsVector2< Value_ >::value >::type
 

Enumerations

enum  boca::Dim2 { boca::Dim2::x, boca::Dim2::y, boca::Dim2::last }
 Two dimensionss. More...
 

Functions

std::string boca::Name (Dim2 dim_2)
 
std::vector< Dim2 > boca::Dimensions2 ()
 
template<class Value_ , class Value_2 >
auto boca::operator* (Vector2< Value_ > const &vector_1, const Vector2< Value_2 > &vector_2)
 Dot product. More...
 
template<class Value_ , class Value_2 , typename = OnlyIfNotVector2<Value_2>>
auto boca::operator* (Vector2< Value_ > const &vector, Value_2 const &scalar)
 Scalar from the right. More...
 
template<class Value_ , class Value_2 , typename = OnlyIfNotVector2<Value_>>
auto boca::operator* (Value_ const &scalar, Vector2< Value_2 > const &vector)
 Scalar from the left. More...