Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::convex_topology< Dims >::point_difference Struct Reference

#include <topology.hpp>

Public Member Functions

 BOOST_STATIC_CONSTANT (std::size_t, dimensions=Dims)
 
 point_difference ()
 
double & operator[] (std::size_t i)
 
const double & operator[] (std::size_t i) const
 

Friends

point_difference operator+ (const point_difference &a, const point_difference &b)
 
point_differenceoperator+= (point_difference &a, const point_difference &b)
 
point_difference operator- (const point_difference &a)
 
point_difference operator- (const point_difference &a, const point_difference &b)
 
point_differenceoperator-= (point_difference &a, const point_difference &b)
 
point_difference operator* (const point_difference &a, const point_difference &b)
 
point_difference operator* (const point_difference &a, double b)
 
point_difference operator* (double a, const point_difference &b)
 
point_difference operator/ (const point_difference &a, const point_difference &b)
 
double dot (const point_difference &a, const point_difference &b)
 

Constructor & Destructor Documentation

template<std::size_t Dims>
boost::convex_topology< Dims >::point_difference::point_difference ( )
inline

Member Function Documentation

template<std::size_t Dims>
boost::convex_topology< Dims >::point_difference::BOOST_STATIC_CONSTANT ( std::size_t  ,
dimensions  = Dims 
)
template<std::size_t Dims>
double& boost::convex_topology< Dims >::point_difference::operator[] ( std::size_t  i)
inline
template<std::size_t Dims>
const double& boost::convex_topology< Dims >::point_difference::operator[] ( std::size_t  i) const
inline

Friends And Related Function Documentation

template<std::size_t Dims>
double dot ( const point_difference a,
const point_difference b 
)
friend
template<std::size_t Dims>
point_difference operator* ( const point_difference a,
const point_difference b 
)
friend
template<std::size_t Dims>
point_difference operator* ( const point_difference a,
double  b 
)
friend
template<std::size_t Dims>
point_difference operator* ( double  a,
const point_difference b 
)
friend
template<std::size_t Dims>
point_difference operator+ ( const point_difference a,
const point_difference b 
)
friend
template<std::size_t Dims>
point_difference& operator+= ( point_difference a,
const point_difference b 
)
friend
template<std::size_t Dims>
point_difference operator- ( const point_difference a)
friend
template<std::size_t Dims>
point_difference operator- ( const point_difference a,
const point_difference b 
)
friend
template<std::size_t Dims>
point_difference& operator-= ( point_difference a,
const point_difference b 
)
friend
template<std::size_t Dims>
point_difference operator/ ( const point_difference a,
const point_difference b 
)
friend

The documentation for this struct was generated from the following file: