Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
ShapePoint.hGo to the documentation of this file.00001 //-*-c++-*- 00002 #ifndef _SHAPEPOINT_H_ 00003 #define _SHAPEPOINT_H_ 00004 00005 #include "ShapeRoot.h" 00006 #include "PointData.h" 00007 #include "EndPoint.h" 00008 00009 namespace DualCoding { 00010 00011 class ShapeSpace; 00012 class Point; 00013 00014 template<> 00015 class Shape<PointData> : public ShapeRoot { 00016 public: 00017 SHAPESTUFF_H(PointData); // defined in ShapeRoot.h 00018 00019 explicit Shape<PointData>(ShapeSpace &s, const Point &pt) 00020 : ShapeRoot(addShape(new PointData(s,pt))) {}; 00021 00022 explicit Shape<PointData>(const PointData& newData) : 00023 ShapeRoot(addShape(new PointData(newData))) {}; 00024 }; 00025 00026 } // namespace 00027 00028 #endif |
DualCoding 5.1CVS |
Generated Mon May 9 04:56:27 2016 by Doxygen 1.6.3 |