Homepage Demos Overview Downloads Tutorials Reference
Credits

ShapeEllipse.h

Go to the documentation of this file.
00001 //-*-c++-*-
00002 #ifndef _SHAPEELLIPSE_H_
00003 #define _SHAPEELLIPSE_H_
00004 
00005 #include "ShapeRoot.h"
00006 #include "EllipseData.h"
00007 
00008 namespace DualCoding {
00009 
00010 class ShapeSpace;
00011 class Point;
00012 class Region;
00013 
00014 template<>
00015 class Shape<EllipseData> : public ShapeRoot {
00016 public:
00017   SHAPESTUFF_H(EllipseData);   // defined in ShapeRoot.h
00018 
00019   Shape<EllipseData>(ShapeSpace &s, Point &centerval)
00020     : ShapeRoot(addShape(new EllipseData(s,centerval))) {};
00021   
00022   Shape<EllipseData>(Region& region);
00023 
00024 };
00025 
00026 } // namespace
00027 
00028 #endif

DualCoding 3.0beta
Generated Wed Oct 4 00:01:54 2006 by Doxygen 1.4.7