class QucDirection : public CorPersistent

a 3D direction

Inheritance:


Public Methods

double alpha ()
double alphaP ()
double gamma ()
double gammaP ()
virtual CorPersistent* makeClone ()
QucDirection& operator= ( const QucDirection& aRef )
void print ()
QucPosition project ()
QucDirection ( double alphaAngle = 0, double gammaAngle = 0, double tauAngle = 0 )
QucDirection ( const QucDirection& aRef )
void rotate ( QucDirection aDirection )
virtual void stream ( CorStream& aStream )
double tau ()
void unproject ( QucPosition aPosition )
void unrotate ( QucDirection aDirection )
virtual ~QucDirection ()

Public


Purpose
Query the gamma angle

Purpose
Print out the angles of this instance

Purpose
The d'tor

Purpose
Project this direction

Purpose
Query the alpha angle

$Id: QucDirection

Purpose
Query the projected alpha angle

Purpose
Query the projected gamma angle

Purpose
Query the tau angle

Private Methods

friend void utest_QucDirection (CorUnitTest&)
Purpose
Make a clone of this instance

Documentation

a 3D direction
$Id: QucDirection.h,v 1.6 1997/04/11 14:10:51 mwiedmer Exp $

SYNOPSIS

    #include <QucDirection.h>
  
    QucDirection myObject;
  

DESCRIPTION
This class models a three dimensional direction through 2 angles.

CAUTIONS
<optional>

EXAMPLES
<optional>

SEE ALSO
<optional>
QucPosition

QucDirection( double alphaAngle = 0, double gammaAngle = 0, double tauAngle = 0 )

QucDirection( const QucDirection& aRef )

QucDirection& operator=( const QucDirection& aRef )

virtual ~QucDirection()

Purpose
The d'tor.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

QucPosition project()

Purpose
Project this direction.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Returns
This function returns the projected position.

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

void unproject( QucPosition aPosition )

void rotate( QucDirection aDirection )

void unrotate( QucDirection aDirection )

double alpha()

Purpose
Query the alpha angle.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Returns
This function returns the alpha angle of this direction.

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

double gamma()

Purpose
Query the gamma angle.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Returns
This function returns the gamma angle of this direction.

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

double alphaP()

Purpose
Query the projected alpha angle.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Returns
This function returns the projected alpha angle of this direction.

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

double gammaP()

Purpose
Query the projected gamma angle.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Returns
This function returns the projected gamma angle of this direction.

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

double tau()

Purpose
Query the tau angle.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Returns
This function returns the tau angle of this direction.

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

void print()

Purpose
Print out the angles of this instance.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

virtual void stream( CorStream& aStream )

virtual CorPersistent* makeClone()

friend void utest_QucDirection(CorUnitTest&)
Purpose
Make a clone of this instance.

Preconditions

Returns
This function retutns a pointer to a newly created instance that has the same properties as this one.

Exceptions


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de