src/Level2/EAngles.cc
/*       Function                            Purpose
         ========   ===========================================================
          equal     Compares two sets of Euler angles to see if they produce
                    the same rotation. Equality can occur even if the Euler
                    angles are not the same, so long as the rotations defined
                    are equivalent (produce the same rotation matrix)
                    Note that operator == is NOT the same as equal. The former
                    does an exact comparison of angles, not rotations.
          inverse   Returns a set of Euler angles for the inverse rotation.
            RMx     Returns a 3x3 rotation matrix that will take one coordinate
                    system into another as defined by the Euler angles. The
                    flag inv allows for generation of the inverse rotation
                    matrix.                                                  */
Function                            Purpose

equal     Compares two sets of Euler angles to see if they produce
the same rotation. Equality can occur even if the Euler
angles are not the same, so long as the rotations defined
are equivalent (produce the same rotation matrix)
Note that operator == is NOT the same as equal. The former
does an exact comparison of angles, not rotations.
inverse   Returns a set of Euler angles for the inverse rotation.
RMx     Returns a 3x3 rotation matrix that will take one coordinate
system into another as defined by the Euler angles. The
flag inv allows for generation of the inverse rotation
matrix.
Function Purpose equal Compares two sets of Euler angles to see if they produce the same rotation . Equality can occur even if the Euler angles are not the same so long as the rotations defined are equivalent ( produce the same rotation matrix ) Note that operator == is NOT the same as equal . The former does an exact comparison of angles not rotations . inverse Returns a set of Euler angles for the inverse rotation . RMx Returns a 3x3 rotation matrix that will take one coordinate system into another as defined by the Euler angles . The flag inv allows for generation of the inverse rotation matrix .
bool EAngles::equal(const EAngles& EA, double CUTOFF) const
  {
  if(*this == EA) return true;			
  return (Rmx()-EA.Rmx()).is_zero(CUTOFF);	
  }
bool EAngles :: equal ( const EAngles & EA , double CUTOFF ) const { if ( * this == EA ) return true ; return ( Rmx ( ) - EA . Rmx ( ) ) . is_zero ( CUTOFF ) ; }
Function                            Purpose
Function Purpose
// Check if same angles // Check rotations