angle_deg.h

degree wrapper class Header File. [詳細]

#include <functional>
#include <iostream>
#include <cmath>

ソースコードを見る。

ネームスペース

namespace  rcsc

構成

class  rcsc::AngleDeg
 degree wrapper class [詳細]
class  rcsc::AngleDeg::DegreeCmp
 predicate function object. this compares two angles by degree value [詳細]
class  rcsc::AngleIsWithin
 predicate function object. [詳細]

関数

const rcsc::AngleDeg operator+ (const rcsc::AngleDeg &lhs, const rcsc::AngleDeg &rhs)
 operator add(T, T)
const rcsc::AngleDeg operator+ (const rcsc::AngleDeg &lhs, const double &rhs)
 operator add(T, U)
const rcsc::AngleDeg operator+ (const double &lhs, const rcsc::AngleDeg &rhs)
 operator add(U, T)
const rcsc::AngleDeg operator- (const rcsc::AngleDeg &lhs, const rcsc::AngleDeg &rhs)
 operator sub(T, T)
const rcsc::AngleDeg operator- (const rcsc::AngleDeg &lhs, const double &rhs)
 operator sub(T, U)
const rcsc::AngleDeg operator- (const double &lhs, const rcsc::AngleDeg &rhs)
 operator sub(U, T)
bool operator!= (const rcsc::AngleDeg &lhs, const rcsc::AngleDeg &rhs)
 predicate operator !=
bool operator!= (const rcsc::AngleDeg &lhs, const double &rhs)
 predicate operator !=
bool operator!= (const double &lhs, const rcsc::AngleDeg &rhs)
 predicate operator !=
bool operator== (const rcsc::AngleDeg &lhs, const rcsc::AngleDeg &rhs)
 predicate operator ==
bool operator== (const rcsc::AngleDeg &lhs, const double &rhs)
 predicate operator ==
bool operator== (const double &lhs, const rcsc::AngleDeg &rhs)
 predicate operator ==
std::ostream & operator<< (std::ostream &os, const rcsc::AngleDeg &a)
 output to ostream


説明

degree wrapper class Header File.


関数

bool operator!= ( const double &  lhs,
const rcsc::AngleDeg rhs 
) [inline]

predicate operator !=

引数:
lhs left hand side argument
rhs right hand side argument
戻り値:
true or false

bool operator!= ( const rcsc::AngleDeg lhs,
const double &  rhs 
) [inline]

predicate operator !=

引数:
lhs left hand side argument
rhs right hand side argument
戻り値:
true or false

bool operator!= ( const rcsc::AngleDeg lhs,
const rcsc::AngleDeg rhs 
) [inline]

predicate operator !=

引数:
lhs left hand side argument
rhs right hand side argument
戻り値:
true or false

const rcsc::AngleDeg operator+ ( const double &  lhs,
const rcsc::AngleDeg rhs 
) [inline]

operator add(U, T)

引数:
lhs left hand side argument
rhs right hand side argument
戻り値:
new angle

const rcsc::AngleDeg operator+ ( const rcsc::AngleDeg lhs,
const double &  rhs 
) [inline]

operator add(T, U)

引数:
lhs left hand side argument
rhs right hand side argument
戻り値:
new angle

const rcsc::AngleDeg operator+ ( const rcsc::AngleDeg lhs,
const rcsc::AngleDeg rhs 
) [inline]

operator add(T, T)

引数:
lhs left hand side argument
rhs right hand side argument
戻り値:
new angle

const rcsc::AngleDeg operator- ( const double &  lhs,
const rcsc::AngleDeg rhs 
) [inline]

operator sub(U, T)

引数:
lhs left hand side argument
rhs right hand side argument
戻り値:
new angle

const rcsc::AngleDeg operator- ( const rcsc::AngleDeg lhs,
const double &  rhs 
) [inline]

operator sub(T, U)

引数:
lhs left hand side argument
rhs right hand side argument
戻り値:
new angle

const rcsc::AngleDeg operator- ( const rcsc::AngleDeg lhs,
const rcsc::AngleDeg rhs 
) [inline]

operator sub(T, T)

引数:
lhs left hand side argument
rhs right hand side argument
戻り値:
new angle

std::ostream& operator<< ( std::ostream &  os,
const rcsc::AngleDeg a 
) [inline]

output to ostream

引数:
os reference to the output stream
a angle object
戻り値:
reference to the output stream

bool operator== ( const double &  lhs,
const rcsc::AngleDeg rhs 
) [inline]

predicate operator ==

引数:
lhs left hand side argument
rhs right hand side argument
戻り値:
true or false

bool operator== ( const rcsc::AngleDeg lhs,
const double &  rhs 
) [inline]

predicate operator ==

引数:
lhs left hand side argument
rhs right hand side argument
戻り値:
true or false

bool operator== ( const rcsc::AngleDeg lhs,
const rcsc::AngleDeg rhs 
) [inline]

predicate operator ==

引数:
lhs left hand side argument
rhs right hand side argument
戻り値:
true or false


librcscに対してThu May 1 15:41:23 2008に生成されました。  doxygen 1.5.0