Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
ShapeSphere.ccGo 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()))) 00017 { 00018 (*this)->setRadius(region.findRadius()); 00019 }; 00020 00021 } // namespace |
DualCoding 4.0 |
Generated Thu Nov 22 00:52:36 2007 by Doxygen 1.5.4 |