Main Page   Class Hierarchy   Compound List   File List   Compound Members  

vector_point.cpp

00001 /*=============================================================================
00002         File: vector.cpp
00003      Purpose:
00004     Revision: $Id: vector_point.cpp,v 1.2 2002/05/13 21:07:45 philosophil Exp $
00005   Created by:    Philippe Lavoie          (3 Oct, 1996)
00006  Modified by: 
00007 
00008  Copyright notice:
00009           Copyright (C) 1996-1998 Philippe Lavoie
00010  
00011           This library is free software; you can redistribute it and/or
00012           modify it under the terms of the GNU Library General Public
00013           License as published by the Free Software Foundation; either
00014           version 2 of the License, or (at your option) any later version.
00015  
00016           This library is distributed in the hope that it will be useful,
00017           but WITHOUT ANY WARRANTY; without even the implied warranty of
00018           MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00019           Library General Public License for more details.
00020  
00021           You should have received a copy of the GNU Library General Public
00022           License along with this library; if not, write to the Free
00023           Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00024 =============================================================================*/
00025 
00026 #include "vector.cpp"
00027 
00028 namespace PLib {
00029 
00030 #ifdef NO_IMPLICIT_TEMPLATES
00031 
00032 // Point3D instantation
00033 
00034 template class Vector<Point3Df> ;
00035 
00036 template Vector<Point3Df> operator+(const Vector<Point3Df>&, const Vector<Point3Df>&);
00037 template Vector<Point3Df> operator-(const Vector<Point3Df>&, const Vector<Point3Df>&);
00038 template Point3Df operator*(const Vector<Point3Df>&,const Vector<Point3Df>&);
00039 template Vector<Point3Df> operator*(const Vector<Point3Df>& v, const double d);
00040 template Vector<Point3Df> operator*(const Vector<Point3Df>& v, const Complex d);
00041 template int operator==(const Vector<Point3Df>&,const Vector<Point3Df>&);
00042 template int operator!=(const Vector<Point3Df>&,const Vector<Point3Df>&);
00043 
00044 template class Vector<Point3Dd> ;
00045 
00046 template Vector<Point3Dd> operator+(const Vector<Point3Dd>&, const Vector<Point3Dd>&);
00047 template Vector<Point3Dd> operator-(const Vector<Point3Dd>&, const Vector<Point3Dd>&);
00048 template Point3Dd operator*(const Vector<Point3Dd>&,const Vector<Point3Dd>&);
00049 template Vector<Point3Dd> operator*(const Vector<Point3Dd>& v, const double d);
00050 template Vector<Point3Dd> operator*(const Vector<Point3Dd>& v, const Complex d);
00051 template int operator==(const Vector<Point3Dd>&,const Vector<Point3Dd>&);
00052 template int operator!=(const Vector<Point3Dd>&,const Vector<Point3Dd>&);
00053 
00054 // Point2D instantation
00055 
00056 template class Vector<Point2Df> ;
00057 
00058 template Vector<Point2Df> operator+(const Vector<Point2Df>&, const Vector<Point2Df>&);
00059 template Vector<Point2Df> operator-(const Vector<Point2Df>&, const Vector<Point2Df>&);
00060 template Point2Df operator*(const Vector<Point2Df>&,const Vector<Point2Df>&);
00061 template Vector<Point2Df> operator*(const Vector<Point2Df>& v, const double d);
00062 template Vector<Point2Df> operator*(const Vector<Point2Df>& v, const Complex d);
00063 template int operator==(const Vector<Point2Df>&,const Vector<Point2Df>&);
00064 template int operator!=(const Vector<Point2Df>&,const Vector<Point2Df>&);
00065 
00066 template class Vector<Point2Dd> ;
00067 
00068 template Vector<Point2Dd> operator+(const Vector<Point2Dd>&, const Vector<Point2Dd>&);
00069 template Vector<Point2Dd> operator-(const Vector<Point2Dd>&, const Vector<Point2Dd>&);
00070 template Point2Dd operator*(const Vector<Point2Dd>&,const Vector<Point2Dd>&);
00071 template Vector<Point2Dd> operator*(const Vector<Point2Dd>& v, const double d);
00072 template Vector<Point2Dd> operator*(const Vector<Point2Dd>& v, const Complex d);
00073 template int operator==(const Vector<Point2Dd>&,const Vector<Point2Dd>&);
00074 template int operator!=(const Vector<Point2Dd>&,const Vector<Point2Dd>&);
00075 
00076 
00077 
00078 #endif
00079 
00080 }

Generated on Tue Jun 24 13:26:59 2003 for NURBS++ by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002