00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef __HOM_Polygon_h__
00017 #define __HOM_Polygon_h__
00018
00019 #include "HOM_API.h"
00020 #include "HOM_Face.h"
00021
00022 SWIGOUT(%rename(Polygon) HOM_Polygon;)
00023
00024 class HOM_API HOM_Polygon : virtual public HOM_Face
00025 {
00026 public:
00027 HOM_Polygon()
00028 { HOM_CONSTRUCT_OBJECT(this) }
00029
00030
00031
00032
00033 HOM_Polygon(const HOM_Polygon &polygon)
00034 : HOM_Prim(polygon), HOM_Face(polygon)
00035 { HOM_CONSTRUCT_OBJECT(this) }
00036
00037 virtual ~HOM_Polygon()
00038 { HOM_DESTRUCT_OBJECT(this) }
00039
00040
00041
00042 SWIGOUT(virtual std::string __repr__()
00043 throw(HOM_ObjectWasDeleted, HOM_Error) = 0;)
00044 };
00045
00046 #endif