shape_doc 0.1
|
00001 #ifndef shape_axel_def_hpp 00002 #define shape_axel_def_hpp 00003 //-------------------------------------------------------------------- 00004 # include <shape/with_def.hpp> 00005 //-------------------------------------------------------------------- 00006 # define TMPL template<class K> 00007 # define TSPE template<> 00008 //==================================================================== 00009 namespace mmx { 00010 namespace shape { 00011 00012 struct AXEL; 00013 template<class FF> struct use<FF,AXEL> :public use<FF,default_env> {}; 00014 00015 template<> DECLARE_REF_OF(AXEL,AXEL); 00016 00017 struct AXEL: public with_def<double,AXEL> {}; 00018 00019 template<> struct use<cell3d_surface_algebraic_def,AXEL> 00020 { 00021 typedef Interval< double > Scalar; 00022 typedef polynomial< Scalar, with<Bernstein> > Polynomial; 00023 }; 00024 00025 00026 } // shape 00027 } // mmx 00028 //==================================================================== 00029 #undef TMPL 00030 #undef TSPE 00031 #endif //shape_axel_kernel_hpp 00032