#ifndef INCLUDE_NASTGEOMETRY2DPIPE_H
#define INCLUDE_NASTGEOMETRY2DPIPE_H

//-----------------------------------------------------------------------------
//  NastGeometry2dPipe.h
//-----------------------------------------------------------------------------
//
//  Copyright (C) 1998 Technische Universitaet Muenchen, Germany
//  written by Bernhard Brueck
//
//  This file is part of Nast++
//
//-----------------------------------------------------------------------------
//  gebogenes Rohr
//-----------------------------------------------------------------------------
//  Aenderungen:
//

#include "NastConfig.h"
#include "NastGeometry2d.h"
#include "NastBox2d.h"

class CNastGeometry2dPipe : public CNastGeometry2d
{
public:
    //-------------------------------------------------------------------------
    //                         Konstruktor + Destruktor
    //-------------------------------------------------------------------------

    CNastGeometry2dPipe( const CNastBox2d &box,
        		 double diameter );			                    
    virtual ~CNastGeometry2dPipe();			            

    //-------------------------------------------------------------------------
    //  Memberfunktionen
    //-------------------------------------------------------------------------


    //-------------------------------------------------------------------------
    //                                  Debug
    //-------------------------------------------------------------------------
    //  debugInfo    gibt Information ueber den Zustand des Objekts aus
    //  assertValid  testet das Objekt auf Integritaet
    //
    virtual void debugDump( CNastDumpContext &dumpContext ) const;
    virtual void assertValid() const;

private:
    //  nicht impl.
    CNastGeometry2dPipe( const CNastGeometry2dPipe &other);	            
    const CNastGeometry2dPipe& operator=( const CNastGeometry2dPipe &other );
    //-------------------------------------------------------------------------
    //                            Membervariablen
    //-------------------------------------------------------------------------
    double m_d;			// Durchmesser des Rohrs
    CNastBox2d m_box;
};
#endif // INCLUDE_NASTGEOMETRY2DPIPE_H

