Simox
2.3.74.0
|
Public Types | |
template<class T > | |
using | vector2_casted = Eigen::Matrix< T, 2, 1 > |
using | float_t = FloatT |
using | vector2_t = vector2_casted< float_t > |
Public Member Functions | |
Circle (const vector2_t &t, const float_t &r) | |
Circle ()=default | |
Circle (Circle &&)=default | |
Circle (const Circle &)=default | |
Circle & | operator= (Circle &&)=default |
Circle & | operator= (const Circle &)=default |
float_t | radius () const |
template<class T > | |
T | radius () const |
const vector2_t & | translation () const |
template<class T > | |
vector2_casted< T > | translation () const |
vector2_t | center () const |
template<class T > | |
vector2_casted< T > | center () const |
float_t | axis (int i) const |
template<class T > | |
T | axis (int i) const |
float_t | axis_x () const |
template<class T > | |
T | axis_x () const |
auto | axis_y () const |
template<class T > | |
T | axis_y () const |
float_t | area () const |
void | scale (float_t factor) |
Static Public Attributes | |
static constexpr float_t | eps = static_cast<float_t>(1e8) |
static constexpr float_t | pi = static_cast<float_t>(M_PI) |
Protected Attributes | |
vector2_t | _t {vector2_t::Zero()} |
float_t | _r {0} |
using simox::Circle< FloatT >::float_t = FloatT |
using simox::Circle< FloatT >::vector2_casted = Eigen::Matrix<T, 2, 1> |
using simox::Circle< FloatT >::vector2_t = vector2_casted<float_t> |
|
inline |
|
default |
|
default |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
static |
|
static |