Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ShapeSphere.cc

Go to the documentation of this file.
00001 #include <iostream>
00002 
00003 using namespace std;
00004 
00005 #include "SketchSpace.h"
00006 #include "Region.h"
00007 
00008 #include "ShapeSphere.h"
00009 
00010 namespace DualCoding {
00011 
00012 SHAPESTUFF_CC(SphereData);
00013   
00014 Shape<SphereData>::Shape(Region& region)
00015   : ShapeRoot(addShape(new SphereData(region.getSpace().getDualSpace(), 
00016               region.findCentroid(), region.findRadius()))) {};
00017 
00018 } // namespace

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