bitrl & cuberl Documentation
Simulation engine for reinforcement learning agents
Loading...
Searching...
No Matches
geom_point.h File Reference
#include "bitrl/bitrl_types.h"
#include <algorithm>
#include <array>
#include <cmath>
#include <ostream>
#include <string>
#include <vector>
Include dependency graph for geom_point.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  bitrl::utils::geom::GeomPoint< spacedim, T >
 A class that describes a point with spacedim spatial dimension space. More...
 

Namespaces

namespace  bitrl
 
namespace  bitrl::utils
 
namespace  bitrl::utils::geom
 

Functions

template<int spacedim, typename T >
std::ostream & bitrl::utils::geom::operator<< (std::ostream &out, const GeomPoint< spacedim, T > &p)
 free functions that work on the GeomPoint<spacedim,T> class
 
template<int spacedim, typename T >
const GeomPoint< spacedim, Tbitrl::utils::geom::scale (const GeomPoint< spacedim, T > &t, T factor)
 scale the given point by facto and returns a copyr. This function does not change the entries of t.
 
template<int spacedim, typename T >
const GeomPoint< spacedim, Tbitrl::utils::geom::scale (const GeomPoint< spacedim, T > &t, const std::vector< T > &factors)
 scale the given point by the factors in vector
 
template<int spacedim, typename T >
const GeomPoint< spacedim, Tbitrl::utils::geom::abs (const GeomPoint< spacedim, T > &t)
 Return a point having the absolute values of the given point object.
 
template<int spacedim, typename T >
const GeomPoint< spacedim, Tbitrl::utils::geom::operator* (T factor, const GeomPoint< spacedim, T > &t)
 Allow multiplication from left with a factor.
 
template<int spacedim, typename T >
const GeomPoint< spacedim, Tbitrl::utils::geom::operator* (const GeomPoint< spacedim, T > &t, T factor)
 
template<int spacedim, typename T >
const GeomPoint< spacedim, Tbitrl::utils::geom::operator/ (const GeomPoint< spacedim, T > &t, T factor)
 
template<int spacedim, typename T >
const GeomPoint< spacedim, Tbitrl::utils::geom::operator+ (const GeomPoint< spacedim, T > &t1, const GeomPoint< spacedim, T > &t2)
 
template<int spacedim, typename T >
const GeomPoint< spacedim, Tbitrl::utils::geom::operator- (const GeomPoint< spacedim, T > &t1, const GeomPoint< spacedim, T > &t2)
 
template<int spacedim, typename T >
bool bitrl::utils::geom::operator== (const GeomPoint< spacedim, T > &t1, const GeomPoint< spacedim, T > &t2)
 
template<int spacedim, typename T >
bool bitrl::utils::geom::operator!= (const GeomPoint< spacedim, T > &t1, const GeomPoint< spacedim, T > &t2)