#ifndef CYLINDER_H
#define CYLINDER_H

#include <point.h>
#include <typedefs.h>

class cylinder
{
public:

  /** Normal or the disks orientation. */
  point3<double> nml;

  /** Position. */
  point3<double> pos;

  /** The circles radius. */
  double radius;

  /** The cylinders height. */
  double height;

  /** Specify the disk in 3D space. */
  cylinder
  (
    point3<double> const & nml_,
    point3<double> const & pos_,
    doublec radius_,
    doublec height_
  );

  /** Serialize this object by writing it out as a string. */
  operator stringc () const;
};


#endif


