src/tetmesh/edge.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           edge.h  -  description
00003                              -------------------
00004     begin                : Fri Dec 12 2003
00005     copyright            : (C) 2003 by Roman Geus
00006     email                : roman.geus@psi.ch
00007 ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef EDGE_H
00019 #define EDGE_H
00020 
00021 #include "entity.h"
00022 
00023 namespace mesh {
00024 
00025 class Point;
00026 class TetMesh;
00027 
00032 class Edge : public Entity {
00033 public:
00040     Edge(id_t id, id_t start, id_t end);
00044     id_t get_start_id() const { 
00045         return _start; 
00046     }
00050     id_t get_end_id() const { 
00051         return _end; 
00052     }
00053 private:
00055     id_t _start;
00057     id_t _end;
00058 };
00059 
00060 } // namespace mesh
00061 
00062 #endif

Generated on Fri Oct 26 13:35:12 2007 for FEMAXX (Finite Element Maxwell Eigensolver) by  doxygen 1.4.7