Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ShapeSphere.h

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

DualCoding 5.1CVS
Generated Mon May 9 04:56:27 2016 by Doxygen 1.6.3