//----------------------------------------------------------------------------- // NastGeometry2dPipe.cpp //----------------------------------------------------------------------------- // // Copyright (C) 1998 Technische Universitaet Muenchen, Germany // written by Bernhard Brueck // // This file is part of Nast++ // //----------------------------------------------------------------------------- // gebogenes Rohr //----------------------------------------------------------------------------- // Changes: // #include "NastGeometry2dPipe.h" #include "NastDebug.h" //----------------------------------------------------------------------------- // Konstruktor + Destruktor //----------------------------------------------------------------------------- // Defaultconstr. CNastGeometry2dPipe::CNastGeometry2dPipe( const CNastBox2d &box, double diameter ) :m_d( diameter ), m_box(box) { NAST_ASSERT( m_d > 0 ); } // Destruktor CNastGeometry2dPipe::~CNastGeometry2dPipe() {} // ---------------------------------------------------------------------------- // Debug // ---------------------------------------------------------------------------- void CNastGeometry2dPipe::debugDump( CNastDumpContext &dumpContext ) const { CNastGeometry2d::debugDump( dumpContext ); dumpContext << "CNastGeometry2dPipe" << "\n"; } void CNastGeometry2dPipe::assertValid() const { // zuerst einmal AssertValid der Basisklasse aufrufen CNastGeometry2d::assertValid(); }