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