00001 #include "surface.cpp" 00002 00003 namespace PLib { 00004 00005 template <> 00006 int ParaSurface<double,2>::intersectWith(const ParaSurface<double,2> &S, Point_nD<double,2>& p, double& u, double& v, double& s, double& t, int maxI, double um, double uM, double vm, double vM) const { 00007 cerr << "NOT DEFINED FOR 2D SURFACES.\n"; 00008 return 0; 00009 } 00010 00011 template <> 00012 int ParaSurface<double,2>::intersectWith(const ParaSurface<double,2> &S, struct InterPoint<double,2> &iter, int maxI, double um, double uM, double vm, double vM) const { 00013 cerr << "NOT DEFINED FOR 2D SURFACES.\n"; 00014 return 0; 00015 } 00016 00017 template <> 00018 int ParaSurface<double,2>::writeVRML97(ostream &fout,const Color& color,int Nu,int Nv, double uS, double uE, double vS, double vE) const{ 00019 cerr << "NOT DEFINED FOR 2D SURFACES.\n" ; 00020 return 0; 00021 } 00022 00023 #ifdef NO_IMPLICIT_TEMPLATES 00024 00025 template class InterPoint<double,2> ; 00026 template class InterPoint<double,3> ; 00027 00028 template class BasicList<InterPoint<double,2> > ; 00029 template class BasicList<InterPoint<double,3> > ; 00030 00031 template class ParaSurface<double,2> ; 00032 template class ParaSurface<double,3> ; 00033 00034 template void intersectSurfaces(const ParaSurface<double,2>&, const ParaSurface<double,2>&, BasicList<InterPoint<double,2> >&, int, double, double, double, double) ; 00035 template void intersectSurfaces(const ParaSurface<double,3>&, const ParaSurface<double,3>&, BasicList<InterPoint<double,3> >&, int, double, double, double, double) ; 00036 00037 #endif 00038 00039 }