00001 #ifndef shape_TOPOLOGY3D_HPP 00002 #define shape_TOPOLOGY3D_HPP 00003 00004 #include <shape/tpl3d.hpp> 00005 00006 struct topology3d_def {}; 00007 00008 namespace mmx { namespace shape { 00009 00010 template<class C, class V> 00011 struct use<topology3d_def,C,V> 00012 : public use<topology_def> { 00013 00014 typedef use<scalar_def>::Scalar Scalar; 00015 typedef use<shape_def>::Shape Shape; 00016 00017 typedef vertex<Scalar> Point; 00018 typedef edge<Scalar,V,Point> Edge; 00019 typedef face<Scalar,V,Point> Face; 00020 00021 }; 00022 00023 } // namespace shape 00024 } // namespace mmx 00025 #endif // TOPOLOGY3D_HPP