summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
fabc591)
protected:
typedef value_type unit;
protected:
typedef value_type unit;
- unit v; //! Stored in radians
+ unit v; //! Stored in radians; positive values indicate counter-clockwise.
}
/*! Returns true if the shortest
}
/*! Returns true if the shortest
- angle between the left-hand and
- right-hand side is clockwise */
+ angle from the left-hand to the
+ right-hand side is counter-clockwise */
bool
operator<(const angle &rhs)const
{ return dist(rhs).v<(value_type)0.0; }
/*! Returns true if the shortest
bool
operator<(const angle &rhs)const
{ return dist(rhs).v<(value_type)0.0; }
/*! Returns true if the shortest
- angle between the left-hand and
- right-hand side is counter-clockwise */
+ angle from the left-hand to the
+ right-hand side is clockwise */
bool
operator>(const angle &rhs)const
{ return dist(rhs).v>(value_type)0.0; }
/*! Returns true if the shortest
bool
operator>(const angle &rhs)const
{ return dist(rhs).v>(value_type)0.0; }
/*! Returns true if the shortest
- angle between the left-hand and
- right-hand side is clockwise,
+ angle from the left-hand to the
+ right-hand side is counter-clockwise,
or if the angles are refer to the same
point on the unit circle. */
bool
or if the angles are refer to the same
point on the unit circle. */
bool
{ return dist(rhs).v<=(value_type)0.0; }
/*! Returns true if the shortest
{ return dist(rhs).v<=(value_type)0.0; }
/*! Returns true if the shortest
- angle between the left-hand and
- right-hand side is counter-clockwise,
+ angle from the left-hand to the
+ right-hand side is clockwise,
or if the angles are refer to the same
point on the unit circle. */
bool
or if the angles are refer to the same
point on the unit circle. */
bool