|
User Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
A SMALL OBJECT
Variables:
Methods:
- AngleC(RealT anglerad = 0,RealT maxval = StdConstC::pi*2)
-
Construct from value in radians.
maxval is angle to wrap around at.
for directed lines this should be 2*pi.
for undirected lines is should be pi.
- void Restrict(RealT newMax)
-
Restrict angle to values between 0 and newMax.
- void Normalise()
-
Normalise the angle.
- AngleC operator-(const AngleC & val) const
-
Subtract angles.
- AngleC operator+(const AngleC & val) const
-
Add angles.
- const AngleC & operator-=(const AngleC & val)
-
Subtract angles.
- const AngleC & operator+=(const AngleC & val)
-
Add angles.
- RealT Diff(const AngleC & val) const
-
Find the difference between two angles.
it returns values in the rangle +/- max/2.
- RealT MaxAngle() const
-
- RealT Value() const
-
Get value of angle.
- RealT Sin() const
-
Get sin of angle.
- RealT Cos() const
-
Get cos of angle.
- void Dump(ostream & out)
-
Dump to stream.
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001
|