Main Page   Namespace List   Class Hierarchy   Compound List   File List   Header Files   Namespace Members   Compound Members   File Members   Related Pages  

/msg/src/geom/direction3d.h

This is the verbatim text of the direction3d.h include file.
/* -*- C -*-
 * direction3d.h
 * $Id: direction3d.h,v 1.1.1.1 2000/07/20 20:54:13 ghali Exp $
 */

#ifndef DIRECTION3D_H
#define DIRECTION3D_H

#include "vector3d.h"

namespace MSG {

  class Direction3d : public Vector3d {

    void normalize();

  public:
    Direction3d();
    Direction3d(double xx, double yy, double zz);
    Direction3d(const Vector3d& v);
    Direction3d(const Point3d& from, const Point3d& to);

    Direction3d operator*(const Direction3d& a) const;

    Direction3d operator*(double d) const;

    Direction3d getAPerpDir() const;
  };
}
#endif

Generated at Sat Jul 22 00:32:14 2000 for MSG by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999