Angle Class Reference

#include <PExtension.h>

List of all members.


Detailed Description

The Angle class is designed to simplify, reduce confusion, and provide consistency in angle-related computations. It eliminates the need to remember whether a function parameter or variable is expressed in radians or degrees.


Public Member Functions

 Angle (AngleType type, Real value)
Real getDegrees ()
Real getRadians ()


Constructor & Destructor Documentation

Angle::Angle ( AngleType  type,
Real  value 
)

Constructs a new Angle of the specified type (angleDeg or angleRad) and with the specified value.


Member Function Documentation

Real Angle::getDegrees (  ) 

Returns the value of this Angle in degrees.

Real Angle::getRadians (  ) 

Returns the value of this Angle in radians.


The documentation for this class was generated from the following files:
Generated on Wed May 16 20:22:11 2007 for LoopTK: Protein Loop Kinematic Toolkit by  doxygen 1.5.1