pkgeom.h

Go to the documentation of this file.
00001 
00002 /* ///////////////////////////////////////////////////////////////////////// */
00003 /* This file is a part of the BSTools package                                */
00004 /* written by Przemyslaw Kiciak                                              */
00005 /* ///////////////////////////////////////////////////////////////////////// */
00006 /* (C) Copyright by Przemyslaw Kiciak, 2005, 2012                            */
00007 /* this package is distributed under the terms of the                        */
00008 /* Lesser GNU Public License, see the file COPYING.LIB                       */
00009 /* ///////////////////////////////////////////////////////////////////////// */
00010 
00011 /* Header file for the libpkgeom library of C procedures - */
00012 /* basic 2D, 3D and 4D affine geometry                     */ 
00013 
00014 #ifndef PKGEOM_H
00015 #define PKGEOM_H
00016 
00017 #ifndef PKVARIA_H
00018 #include "pkvaria.h"
00019 #endif
00020 
00021 #include "pkgeomf.h"
00022 #include "pkgeomd.h"
00023 
00024 #ifdef __cplusplus   
00025 extern "C" {
00026 #endif
00027 
00028 void TransPoint3df ( const trans3d *tr, const point3f *p, point3f *q );
00029 void TransVector3df ( const trans3d *tr, const vector3f *v, vector3f *w );
00030 void TransContra3df ( const trans3d *tri, const vector3f *v, vector3f *w );
00031 void Trans3Point2df ( const trans3d *tr, const point2f *p, point2f *q );
00032 
00033 void TransPoint3fd ( const trans3f *tr, const point3d *p, point3d *q );
00034 void TransVector3fd ( const trans3f *tr, const vector3d *v, vector3d *w );
00035 void TransContra3fd ( const trans3f *tri, const vector3d *v, vector3d *w );
00036 void Trans3Point2fd ( const trans3f *tr, const point2d *p, point2d *q );
00037 
00038 void Trans3fTod ( const trans3f *trf, trans3d *trd );
00039 void Trans3dTof ( const trans3d *trd, trans3f *trf );
00040 
00041 #ifdef __cplusplus
00042 }
00043 #endif
00044 
00045 #endif /*PKGEOM_H*/
00046