Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ShapeCross.h

Go to the documentation of this file.
00001 #ifndef _SHAPECROSS_H_
00002 #define _SHAPECROSS_H_
00003 
00004 #include "ShapeRoot.h"
00005 #include "CrossData.h"
00006 
00007 namespace DualCoding {
00008 
00009 class ShapeSpace;
00010 
00011 template<>
00012 class Shape<CrossData> : public ShapeRoot {
00013  public:
00014   SHAPESTUFF_H(CrossData);   // defined in ShapeRoot.h
00015 
00016   Shape<CrossData>(ShapeSpace& space, const Point& center, const LineData line1, const LineData line2,
00017              const fmat::Column<3>& extents)
00018     : ShapeRoot(addShape(new CrossData(space, line1, line2, extents))) {}
00019 };
00020 
00021 } // namespace
00022 
00023 #endif

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