ARB
|
#include <aw_position.hxx>
Public Member Functions | |
bool | valid () const |
Angle (double Radian_) | |
Angle (double x, double y) | |
Angle (const Angle &a) | |
Angle (const Vector &v) | |
Angle (const LineVector &lv) | |
Angle (const Vector &n, double r) | |
Angle (const Position &p1, const Position &p2) | |
Angle () | |
Angle & | operator= (const Angle &other) |
Angle & | operator= (const Vector &vec) |
void | fixRadian () const |
const double & | radian () const |
double | degrees () const |
const Vector & | normal () const |
const double & | sin () const |
const double & | cos () const |
Angle & | operator+= (const Angle &o) |
Angle & | operator-= (const Angle &o) |
Angle & | operator*= (const double &fact) |
Angle & | rotate90deg () |
Angle & | rotate180deg () |
Angle & | rotate270deg () |
Angle | operator- () const |
Static Public Attributes | |
static const double | rad2deg = 180/M_PI |
static const double | deg2rad = M_PI/180 |
Definition at line 452 of file aw_position.hxx.
|
inlineexplicit |
Definition at line 466 of file aw_position.hxx.
References ISVALID.
|
inline |
Definition at line 467 of file aw_position.hxx.
References ISVALID, and AW::Vector::normalize().
|
inline |
Definition at line 468 of file aw_position.hxx.
References ISVALID.
|
inlineexplicit |
Definition at line 469 of file aw_position.hxx.
References ISVALID, and AW::Vector::normalize().
|
inlineexplicit |
Definition at line 470 of file aw_position.hxx.
References ISVALID, and AW::Vector::normalize().
|
inline |
Definition at line 471 of file aw_position.hxx.
References aw_assert, AW::Vector::is_normalized(), and ISVALID.
Definition at line 472 of file aw_position.hxx.
References ISVALID, and AW::Vector::normalize().
|
inline |
Definition at line 473 of file aw_position.hxx.
Referenced by operator-().
|
inline |
Definition at line 461 of file aw_position.hxx.
References is_nan_or_inf(), and AW::Vector::valid().
Definition at line 475 of file aw_position.hxx.
Definition at line 476 of file aw_position.hxx.
References AW::Vector::normalize().
|
inline |
Definition at line 478 of file aw_position.hxx.
References M_PI.
Referenced by degrees(), operator*=(), and radian().
|
inline |
Definition at line 483 of file aw_position.hxx.
References fixRadian().
|
inline |
Definition at line 484 of file aw_position.hxx.
References fixRadian().
|
inline |
Definition at line 485 of file aw_position.hxx.
Referenced by calc_text_coordinates_near_tip(), operator+=(), operator-=(), SEC_root::paintAnnotation(), and SEC_oriented::set_abs_angle().
|
inline |
Definition at line 487 of file aw_position.hxx.
References AW::Vector::y().
Referenced by operator+=(), and operator-=().
|
inline |
Definition at line 488 of file aw_position.hxx.
References AW::Vector::x().
Referenced by calc_text_coordinates_near_tip(), operator+=(), and operator-=().
Definition at line 490 of file aw_position.hxx.
References aw_assert, cos(), AW::Vector::length(), AW::nearlyEqual(), normal(), and sin().
Definition at line 505 of file aw_position.hxx.
References aw_assert, cos(), AW::Vector::length(), AW::nearlyEqual(), normal(), and sin().
|
inline |
Definition at line 522 of file aw_position.hxx.
References fixRadian().
|
inline |
Definition at line 529 of file aw_position.hxx.
References M_PI, and AW::Vector::rotate90deg().
Referenced by calc_text_coordinates_aside_line().
|
inline |
Definition at line 530 of file aw_position.hxx.
References M_PI, and AW::Vector::rotate180deg().
|
inline |
Definition at line 531 of file aw_position.hxx.
References M_PI, and AW::Vector::rotate270deg().
Referenced by calc_text_coordinates_aside_line(), and SEC_root::paintAnnotation().
|
inline |
Definition at line 533 of file aw_position.hxx.
|
static |
Definition at line 463 of file aw_position.hxx.
|
static |
Definition at line 464 of file aw_position.hxx.